Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: wantarray alternative

by tqisjim (Beadle)
on Jul 10, 2013 at 20:35 UTC ( #1043556=note: print w/replies, xml ) Need Help??


in reply to Re^3: wantarray alternative
in thread wantarray alternative

Oops. Thanks for catching that :)
return ( @out == 1 && ! wantarray ) ? $out[0] : @out;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043556]
help
Chatterbox?
and all is calm...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-02-19 22:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (266 votes). Check out past polls.

    Notices?