XP is just a number | |
PerlMonks |
Re^5: Introsepcting the current Perl file via DATA, even w/o DATA? (perl5db.pl)by Anonymous Monk |
on Feb 05, 2016 at 16:11 UTC ( [id://1154486]=note: print w/replies, xml ) | Need Help?? |
Anyway, let us know if you'll find something details about that magic. ;-)You're so lazy, LanX ;) I'm sure you could do it yourself, but if you insist... and Now, the thing is, you have to set $^P before the file (test.pm in this case) is even opened. So you can't do it inside test.pm itself, I don't think... Is that good enough for you?
In Section
Seekers of Perl Wisdom
|
|