Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Hope a subroutine will return undef by default

by hdb (Monsignor)
on Feb 11, 2014 at 16:28 UTC ( #1074438=note: print w/replies, xml ) Need Help??


in reply to Hope a subroutine will return undef by default

You could make undef; the last statement in each of your functions...

  • Comment on Re: Hope a subroutine will return undef by default

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1074438]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2018-06-25 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (128 votes). Check out past polls.

    Notices?