Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Writing code that looks niceby JavaFan (Canon) |
on Apr 12, 2010 at 13:00 UTC ( [id://834262]=note: print w/replies, xml ) | Need Help?? |
I'd keep it as is. No need to introduce an extra scope. And why add the default argument for print, but not for -d?
Folks, what do you think, what is the most correct style of perl code?Are you sure you're posting in the correct forum? Perhaps you're looking for the Python one. Perl embraces the "there's more than one way of doing things". It's the Python philosophy of there being only one right way of doing things.
In Section
Seekers of Perl Wisdom
|
|