in reply to Re: Testing array of hash values
in thread Testing array of hash values
He may have been trying for:
my %p; @p{ qw( eyes hair etc ) } = ( undef ) x 3;
Of course that's crufty in that you have to hard code in the number of elements.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Another posible initializer
by dvergin (Monsignor) on Dec 11, 2001 at 07:47 UTC | |
by Fletch (Bishop) on Dec 11, 2001 at 08:18 UTC | |
by dvergin (Monsignor) on Dec 11, 2001 at 11:55 UTC |
In Section
Seekers of Perl Wisdom