Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow walking/caching more than main:: #5

Open
rocky opened this issue Oct 9, 2012 · 0 comments
Open

Allow walking/caching more than main:: #5

rocky opened this issue Oct 9, 2012 · 0 comments

Comments

@rocky
Copy link

rocky commented Oct 9, 2012

Here is a scenario of from B::CodeLines. I want to give a file or Perl Module and get a list of the traceable line numbers. For a main problem this works pretty well. But what if I start with a Perl module?

B::Utils seems to be geared for main programs: walksymtable() inside _init_sub_cache() passes main:: unconditionally. I think a number of times one also wants to do the same kind of thing for a module. For example, supposed there is an Enbugger->stop, inside a module. Because of B::Utils main package orientation, I don't think you will pick up the line numbers of methods inside that package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant