in reply to Hash element that won't print. Perl Bug???
It's just "coincidence" that 10 = "10".$hash{'00'} = "data"; $hash{'10'} = "moredata";
When you access the hash later, the key is interpolated in string context.
If you were doing 3 digits, things would be worse, because 010 = "8" (octal) and not "10".
Make sense?
cLive ;-)
|
|---|