laziness, impatience, and hubris | |
PerlMonks |
Re: random variable declaration based on given countby hippo (Bishop) |
on Mar 26, 2014 at 11:15 UTC ( [id://1079805]=note: print w/replies, xml ) | Need Help?? |
Seeing something like this: my ($var,$var1,$var2,$var3,$var4,$var5,$var6,$var7,$var8,$var9,$var10,$var11,$var12,$var13);raises the obvious question. Why are you not using an array instead? If you do that, likely most of the related problems would disappear.
In Section
Seekers of Perl Wisdom
|
|