in reply to Re: Cruel references
in thread Cruel references
of course!!
Thanks a lot!
This is right way:
Thanks a lot!
This is right way:
$pets{$color}=[]; push @{$pets{$color}},"cat";
|
---|
In Section
Seekers of Perl Wisdom