go ahead... be a heretic | |
PerlMonks |
Re^7: Introspecting the current Perl file via DATA, even w/o DATA? (perl5db.pl)by LanX (Saint) |
on Feb 05, 2016 at 17:05 UTC ( [id://1154490]=note: print w/replies, xml ) | Need Help?? |
> Added shift. as a side note: line numbers start with 1, so changing the content of the 0th element may be the better strategy. ( Otherwise looking up a line will include a cumbersome -1 operation.)
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|