Ahhh, you are talking about the quality that cannot be named :) I can't tell you what good practices are, but I can tell you that I know them when I see them.
My advice would be to stick around and read. Read some of the modules that you download from CPAN. After a while you will begin to get a feel for things you like, and things you think stink.
Not to mention that one person's good practice is another person's poison. Just ask about whether one should leave off return at the end of a subroutine, or whether it's better to say $bar and foo() or foo() if $bar. Or even if( $bar ) { foo() }. It depends on the circumstances.
- another intruder with the mooring of the heart of the Perl
In reply to Re: The Tao of Perl
by grinder
in thread The Tao of Perl
by Mago
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |