Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

•Re: Re: ?Re: Re: Re: Serializing coderefs

by merlyn (Sage)
on Jun 20, 2002 at 15:09 UTC ( [id://176038]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $increment_by_secret = do {
      my $secret_number = 7;
      sub { $secret_number + shift };
    };
    
  2. or download this
    {
        ($secret_number + shift(@_));
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-19 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found