Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: Dumb, non-question: How to return 'nothing'.

by Anonymous Monk
on Jun 18, 2011 at 06:47 UTC ( #910304=note: print w/replies, xml ) Need Help??


in reply to Re^6: Dumb, non-question: How to return 'nothing'.
in thread Dumb, non-question: How to return 'nothing'.

No, the loop won't exit even if [ undef ] or [ 0 ] is returned.

It isn't supposed to. The loop exists when you return undef to stop the loop. Read carefully :) Dumb, non-question: How to return 'nothing'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-08-31 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (426 votes). Check out past polls.