Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2017-10-18 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (240 votes). Check out past polls.

    Notices?