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

Re^3: wantarray alternative

by davido (Cardinal)
on Jul 10, 2013 at 19:59 UTC ( [id://1043546]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return @out == 1 && ! wantarray ? $out[0] : @out;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-03-19 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found