raflach has asked for the wisdom of the Perl Monks concerning the following question:
for my $key ( keys $obj->{'param'} ) { #do something with data }
I know I'm being stupid somehow... helpType of arg 1 to keys must be hash ( not hash elem) at .... or Type of arg 1 to keys must be hash (not scalar ref constructor) at ... +.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: keys function question
by tye (Sage) on Jul 20, 2000 at 22:57 UTC | |
|
Re: keys function question
by cwest (Friar) on Jul 20, 2000 at 22:58 UTC | |
by tye (Sage) on Jul 21, 2000 at 01:20 UTC | |
by cwest (Friar) on Jul 21, 2000 at 18:03 UTC | |
by japhy (Canon) on Jul 21, 2000 at 19:11 UTC | |
by tye (Sage) on Jul 21, 2000 at 19:53 UTC | |
by cwest (Friar) on Jul 21, 2000 at 19:21 UTC | |
by japhy (Canon) on Jul 21, 2000 at 19:38 UTC | |
by japhy (Canon) on Jul 22, 2000 at 02:01 UTC |