Perl-Sensitive Sunglasses | |
PerlMonks |
Re: delete element in Hash of arrayby jethro (Monsignor) |
on May 23, 2011 at 09:54 UTC ( [id://906277]=note: print w/replies, xml ) | Need Help?? |
splice(@{$hash{'thingy'}},$position,1);
You can always access the array inside a hash of arrays if you put @{} around the hash value $hash{'thingy'}. Quite simple after you get used to it
In Section
Seekers of Perl Wisdom
|
|