in reply to Hash of refs to refs

Um, you can't do that! Take a look at what %sample really is:
'ARRAY(0xa01116c)' => [ 5, 6, 7, 8 ]
If you are trying to create a hash slice, try this instead:
my %hash; @hash{(1..4)} = (5..8);

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)