As expected not that easy
I suppose do and require aren't executed by B::Deparse but code in BEGIN and hence use is...
So reading <Pckg::DATA> might produce text from wrong file...
Is there a way to check the path of a handle to avoid such pathological cases?
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
see Re^2: Why shows B::Deparse __END__ as __DATA__? (BUG #1) ff for prove!
In reply to Re^2: Why shows B::Deparse __END__ as __DATA__?
by LanX
in thread Why shows B::Deparse __END__ as __DATA__?
by karlgoethebier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |