This is at the beginning of a script that I must have written shortly after I learned about use strict.
I think everyone goes through a phase like that. I certainly have code with "global lexicals" from my early use strict days.
$start =~ s/^\s+//g;
Is there a reason for the /g?
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In reply to Re^2: Pearls (not really) of Perl programming
by hardburn
in thread Pearls (not really) of Perl programming
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |