Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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'.


Comment on Re^7: Dumb, non-question: How to return 'nothing'.
Select or Download Code

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 avoiding work at the Monastery: (9)
As of 2014-11-26 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (167 votes), past polls