![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Getiing keys or values of a file based hashby zubenel0 (Sexton) |
on Feb 27, 2020 at 18:51 UTC ( #11113509=note: print w/replies, xml ) | Need Help?? |
To add to Fletch answer I have ran your code and noticed an error message that array @keys is not declared and you can do this with something as "my @keys;". You could delete the last while loop and save the keys in array @keys. And then cycle through the array like this:
In Section
Seekers of Perl Wisdom
|
|