vennila has asked for the wisdom of the Perl Monks concerning the following question:
I want some other way to re-initialize the hash values with out using above and foreach iteration way. Thanks in advance...my %hash=('a'=>0 , 'e'=>0 , 'i'=>0 , 'o'=>0 , 'u'=> 0,); ... some code with hash values..... %hash=('a'=>0 , 'e'=>0 , 'i'=>0 , 'o'=>0 , 'u'=> 0,); # + Re-initialize the hash values.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: re-initialize the hash
by Corion (Patriarch) on Apr 01, 2010 at 08:16 UTC | |
by vennila (Novice) on Apr 01, 2010 at 08:38 UTC | |
by jethro (Monsignor) on Apr 01, 2010 at 08:56 UTC | |
by cdarke (Prior) on Apr 01, 2010 at 09:19 UTC | |
by vennila (Novice) on Apr 01, 2010 at 10:09 UTC | |
|
Re: re-initialize the hash
by jethro (Monsignor) on Apr 01, 2010 at 08:46 UTC | |
by AnomalousMonk (Archbishop) on Apr 01, 2010 at 09:07 UTC |