Erm, @{$r->{@l}} is treating the value in $r->{@l} as an arrayref (which isn't going to do anything useful). You mean @{ $r }{ @l }.
In reply to Re: Hash slice from a hashref
by Fletch
in thread Hash slice from a hashref
by Random_Walk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |