in reply to Getting keys/values from a referenced hash
All you need to do is dereference the hash before passing it to keys or each. Try this:
for my $key (keys %$results) { ... }
Good luck!
Ira,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Getting keys/values from a referenced hash
by professa (Beadle) on Nov 27, 2001 at 21:33 UTC |
In Section
Seekers of Perl Wisdom