my @arr1 = (1 3 4); # remember arrays are zero based my @arr2 = qw( nfs afp cifs dns backup); my @arr3 = @arr2[@arr1]; # slice notation