http://www.perlmonks.org?node_id=744299


in reply to beginnner perl hash question

You can initialize your hash with:

%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