in reply to Re: wantarray alternative
in thread wantarray alternative
readable code almost always trumps really short code
I know what you're saying but shorter code, like shorter sentences, tends to be more readable; short != confusing|obfuscated. Omitting return is a best practice, to me, when there is no control flow and the sub is short.
|
---|
In Section
Seekers of Perl Wisdom