Array Slices
A slice of an array is a subsequence of its elements.
@primes = (2,3,5,7,11,13,17,19);
# Assignment with slices:
@low_primes = @primes(0..3);
@misc_primes = @primes(1,3,5,7);
# Interchanging two array elements:
@low_primes(0,2) = @low_primes(2,0);
# Assignment to a list of scalars:
($one, $two) = (1, 2, 3, 4);