NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
But I like it (Score:1)
I get a lot of milage out of implicit
return– I write many functions that consist of a single expression (disregarding parameter parsing), which read much nicer that way.Maybe precisely because I use it so purposefully, I am always keenly aware that subs always return something, and so when writing subs that aren’t supposed to, I usually put a bare
returnin there.Re:But I like it (Score:2)
Reply to This
Parent