more useful options | |
PerlMonks |
Re: right usage of #line ??by LanX (Saint) |
on Sep 09, 2015 at 00:38 UTC ( [id://1141384]=note: print w/replies, xml ) | Need Help?? |
> Any idea or previous experience on this, are both welcome.
Just an idea: I seem to remember that perl5db.pl is using a hash to associate line numbers and Line 3 will point to the #shebang line which has no conflicts (comments are never compiled) Having multiple sequences of op-codes with the same line number is not only bad practice but a bug in my books. PLEASE use a linenumber/file pointing to a reasonable code explaining what is happening. The debugger will just show the static lines found in the file system. It will not try to deparse your evaled code.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|