Don't ask to ask, just ask | |
PerlMonks |
Re^2: a perldbg question about breaksby LanX (Saint) |
on Oct 27, 2020 at 17:08 UTC ( [id://11123224]=note: print w/replies, xml ) | Need Help?? |
OK you explicitly asked about the "package" not the "file". But that's not how it works because the same package can be present in different files. (think of main:: for instance) Assuming the normal case that the package scope is only in one single file... If this is only a one-time application, finding the correct file-path shouldn't be a problem. Otherwise one could write an alias which finds the filename for a provided package and sets the breakpoint. Compare also %INC which lists the filenames for used modules.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|