More info at perlrefmy $table = { foo => { bar => [qw(one two three four five)] } }; print join(" - ", @{$table->{foo}->{bar}}[2..4]); __output__ three - four - five
_________
broquaint
In reply to Re: Correct syntax to access an array slice within a hash within a hash
by broquaint
in thread Correct syntax to access an array slice within a hash within a hash
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |