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