|
|
| more useful options | |
| PerlMonks |
Re: Number notationby srawls (Friar) |
| on Jun 20, 2001 at 18:15 UTC ( [id://90118]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||||||