% say "[0..9]->[4,5]" Useless use of a constant (4) in void context at (eval 1) line 1. 5 #### my $vect1 = [ @{ $val1 }[3.­.5] ];