Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Writing code that looks niceby moritz (Cardinal) |
on Apr 12, 2010 at 12:49 UTC ( [id://834261]=note: print w/replies, xml ) | Need Help?? |
That's just a matter of personal preference, not of "correct"ness.
It is also a matter of the intended audience: The less Perl they know, the more verbose might have to write. perlstyle collects some stilistic wisdom that's widely adopted in the Perl community, but YMMV. Update: In this specific case I'd either leave out the $_ altogether, or use an explicitly named variable, like
In Section
Seekers of Perl Wisdom
|
|