Hidden behavoir like non-obvious return values can eat you alive. I try and avoid subs that both modify a parameter handed to them and return a real value. I try to use return $blah; so that people don't add a print at the end of my sub and suddenly it ALWAYS returns a "1". =)
--
$you = new YOU;
honk() if $you->love(perl)
In reply to Re: Rules of Proper Perl Style
by extremely
in thread Rules of Proper Perl Style
by sierrathedog04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |