Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Near-free function currying in Perl

by Limbic~Region (Chancellor)
on Nov 17, 2004 at 14:30 UTC ( #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
Node Status?
node history
Node Type: note [id://408416]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-12-03 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (53 votes). Check out past polls.

    Notices?