Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Functional shuffle

by kelan (Deacon)
on Apr 02, 2005 at 14:04 UTC ( [id://444368]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Functional shuffle
in thread Functional shuffle

I'd probably make that

sub functional_FY { return @_ ? ( splice( @_, rand @_, 1 ), &functional_FY ) : (); }
so that the intention is clearer. Or does that mess up the callstack that &-style calling uses?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found