Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: RFC: Sub::Prepend - Prepend code to named subroutines

by lodin (Hermit)
on Jun 05, 2008 at 18:22 UTC ( [id://690494]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    prepend foo => sub {
      # Remove the invocant.
    ...
    sub foo {
      print shift;
    }
    
  2. or download this
    sub foo {
      {
    ...
      }
      print shift;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2024-04-18 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found