Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 chilling in the Monastery: (7)
As of 2014-08-30 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls