Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 rifling through the Monastery: (6)
As of 2014-12-20 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls