in reply to Re: Why shows B::Deparse __END__ as __DATA__?
in thread Why shows B::Deparse __END__ as __DATA__?
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!
|
|---|