B::Deparse question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Good day to all,

Given the command

$ perl -MO=Deparse file.pl

I want the corresponding perl code.

B::Deparses's coderef2text() method expects
a coderef as argument and deparses the
corresponding function only. However, I want
to deparse an entire file (including BEGIN/END
blocks) with Perl code.

Is there a way to do this?



Ing Ferry Bolhar
Magistrat der Stadt Wien - MA 14
A-1010 Wien
E-Mail: ferdinand.bolhar-nordenkampf@wien.gv.at

Site Timeline