Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Number notationby srawls (Friar) |
on Jun 20, 2001 at 22:15 UTC ( [id://90118]=note: print w/replies, xml ) | Need Help?? |
because 2 == 02 is in numeric context. $array{$var2} is in string context. Just add int to the code like such:
The 15 year old, freshman programmer,
In Section
Seekers of Perl Wisdom
|
|