good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Printing the code of a coderefby Trizor (Pilgrim) |
on Jun 26, 2007 at 05:35 UTC ( [id://623309]=note: print w/replies, xml ) | Need Help?? |
You're looking for B::Deparse. In fact, you have the usage almost correct, except instead of printcode the method is called coderef2text.
However you might want to read the docs, as B::Deparse is still in development and contains some caveats.
In Section
Seekers of Perl Wisdom
|
|