%hash = ();
And access it later on (after it is populated) in a loop like so:
foreach $key (keys %hash) { print $hash{$key} . "\n"; }
You can also look around the Monastery. This might be some good reading for you: QandASection: hashes
Jamie
In reply to Re: beginnner perl hash question
by n3toy
in thread beginnner perl hash question
by jimmy78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |