Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re (tilly) 2: Subroutine chaining idiom requested

by tilly (Archbishop)
on May 24, 2001 at 07:24 UTC ( #82805=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub chain{(*f,*_)=@_;@_=&$_ for@f;@_}
    
  2. or download this
    sub chain{my($f,$a)=@_;$a=[&$_(@$a)]for@$f;@$a}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-12-29 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls