Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: re-initialize the hash

by vennila (Novice)
on Apr 01, 2010 at 10:09 UTC ( [id://832269]=note: print w/replies, xml ) Need Help??


in reply to Re^3: re-initialize the hash
in thread re-initialize the hash

Did you check that one.
@hash{keys %hash}=0 x scalar(keys %hash);
I gave me the following output as ,
$VAR1 = { 'c' => '000', 'a' => undef, 'b' => undef };
I want all the values of hash to '0'.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-03-29 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found