more useful options | |
PerlMonks |
(jeffa) Re: Poor Perl Idioms Explained (except not really)by jeffa (Bishop) |
on Aug 02, 2003 at 14:12 UTC ( [id://280280]=note: print w/replies, xml ) | Need Help?? |
An old manager of mine saw $|++ in some of my code
and requested i change it to $| = 1. I asked why
and he replied that it's better to explicitly set something
than to assume it is, say, zero. I know that $|
defaults to 0, you know that $| defaults to 0 ...
but what if someday the default for $| is instead
1?
jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Meditations
|
|