in reply to How do you find keys of a Blessed Hash?
$ perl -wE 'my $h = bless { a => 1, b => 2 }; say keys %$h' ab
Works just as with any other hash reference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do you find keys of a Blessed Hash?
by perl-diddler (Chaplain) on Oct 07, 2012 at 15:01 UTC | |
by roboticus (Chancellor) on Oct 07, 2012 at 16:56 UTC | |
by perl-diddler (Chaplain) on Oct 07, 2012 at 19:53 UTC | |
by Corion (Patriarch) on Oct 07, 2012 at 15:06 UTC | |
by james2vegas (Chaplain) on Oct 08, 2012 at 04:26 UTC | |
by tobyink (Canon) on Oct 08, 2012 at 13:06 UTC | |
by moritz (Cardinal) on Oct 08, 2012 at 05:44 UTC | |
by james2vegas (Chaplain) on Oct 08, 2012 at 07:16 UTC |