Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: on the fly methods

by Thelonius (Priest)
on Feb 27, 2007 at 16:54 UTC ( [id://602338]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub makeMethod { 
      my $this = shift;
    ...
      my $this = shift;
      $this->{_coderef}->(@_)
    }
    
  2. or download this
    $this->makeMethod( "somenewname", "some code" );
    $this->somenewname();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-16 06:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found