Don't ask to ask, just ask | |
PerlMonks |
Re^9: How to print out package code ?by Martin90 (Sexton) |
on Mar 19, 2013 at 11:03 UTC ( [id://1024262]=note: print w/replies, xml ) | Need Help?? |
$deparse->coderef2text(\&sub)
Returns only ";" it's all because these subs are encoded, all pure perl code works good with this method. Any ideas how to get subroutines code ? :(
In Section
Seekers of Perl Wisdom
|
|