Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Why do I get uninitialized value in substitution (s///) in my array?by Popcorn Dave (Abbot) |
on Aug 10, 2009 at 21:47 UTC ( [id://787419]=note: print w/replies, xml ) | Need Help?? |
One small thing that could come back to bite you in the butt down the road is using $a for a variable since $a and $b are special variables.
I'd change it to something a bit more meaningful so not only that you'll remember what it does when you look at the code 6 months from now but you won't get messed up if you use the <=> operator in the program down the road.
To disagree, one doesn't have to be disagreeable - Barry Goldwater
In Section
Seekers of Perl Wisdom
|
|