Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by SuicideJunkie (Priest)
on Jun 17, 2011 at 21:05 UTC ( #910258=note: print w/ replies, xml ) Need Help??


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

Would be worthwhile to add carp "Iterator not called in list context" unless wantarray; so it can't be used improperly?


Comment on Re^4: Dumb, non-question: How to return 'nothing'.
Download Code
Re^5: Dumb, non-question: How to return 'nothing'.
by BrowserUk (Pope) on Jun 17, 2011 at 21:08 UTC

    Excellent notion. Thanks.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2015-07-04 20:07 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 (60 votes), past polls