Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Near-free function currying in Perl

by Limbic~Region (Chancellor)
on Nov 17, 2004 at 14:30 UTC ( [id://408416]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub greeting {
        my ($verb, $object) = @_;
    ...
    __END__
    Happy Birthday, L~R
    goodbye, Cruel World
    
  2. or download this
    greeting('Hello', 'Good Looking'); # prints immediately
    greeting('Woah'); # Waits
    ...
    greeting('Nelly'); # prints now that it has both arguments
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found