Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^7: wantarray alternative

by LanX (Canon)
on Jul 10, 2013 at 21:10 UTC ( #1043567=note: print w/ replies, xml ) Need Help??


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

> The solution I'd prefer to implement would return Jim.

so first code-example in Re: wantarray alternative (Context propagation)

> But the most robust answer would probably be to throw an exception.

so check wantarray to do so

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re^7: wantarray alternative
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2015-07-01 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (5 votes), past polls