Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Rewriting sub code on import to add logging

by citromatik (Curate)
on May 14, 2008 at 10:51 UTC ( #686492=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use B::Deparse;
    
    ...
    
    $code = B::Deparse->new->coderef2text(\&subref);
    print "\nAfter editing &something:\n",$code;
    
  2. or download this
    Before editing &something:
    {
    ...
        my($self, $param) = @_;
        return _stuff($param);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://686492]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2020-11-28 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?