Just another Perl shrine | |
PerlMonks |
Mysterious hash behaviourby Anonymous Monk |
on Apr 07, 2005 at 06:48 UTC ( [id://445554]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks,
Then when I do a:
The o/p is A1, A2....A6. However upon adding a 7th value:
The o/p becomes A7, A1, A2, A3...A6. Any explanations to this mystery? The problem disappears if I assign the values as:
The o/p is then A1, A2.....A7. Tamojit20050407 Janitored by Corion: Added formatting
Back to
Seekers of Perl Wisdom
|
|