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

Re^3: Functional shuffle

by kelan (Deacon)
on Apr 02, 2005 at 14:04 UTC ( #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? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-08-18 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?