Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by LanX (Canon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-10-25 13:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls