Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Hope a subroutine will return undef by default

by LanX (Chancellor)
on Feb 11, 2014 at 23:58 UTC ( #1074548=note: print w/replies, xml ) Need Help??


in reply to Re^4: Hope a subroutine will return undef by default
in thread Hope a subroutine will return undef by default

IMHO its still flow control (its an exit point), so no need to hide it.

(); is fine for short lambdas, otherwise IMHO explicit is better than implicit.

YMMV! :)

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re^5: 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://1074548]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-12-08 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (134 votes). Check out past polls.