Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Hash element that won't print. Perl Bug???

by nardo (Friar)
on Oct 10, 2001 at 09:12 UTC ( [id://117931]=note: print w/replies, xml ) Need Help??


in reply to Hash element that won't print. Perl Bug???

The answer is discovered with
print join(', ', keys %hash), "\n";
which reveals that 00 becomes 0, if you use
$hash{'00'} = 'data';
it will work like you want it to.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://117931]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found