Think about Loose Coupling | |
PerlMonks |
Re: Hash slice from a hashrefby davorg (Chancellor) |
on Sep 07, 2006 at 13:52 UTC ( [id://571688]=note: print w/replies, xml ) | Need Help?? |
The general rule is that when dealing with references you can replace a hash name with {$ref}. So @hash{@keys} becomes @{$ref}{@keys}.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|