Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^7: wantarray alternative

by LanX (Chancellor)
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)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043567]
[Discipulus]: just after earthquake mobile phones never work: but they could evacuate to open schoolyard and then call or go back to school
[LanX]: "evacuate to open schoolyard" is standard procedure here
[LanX]: Italy has a problem with Africa, very pushy continent ;-)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-01-18 12:08 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (161 votes). Check out past polls.