# An array is written like @days and can be thought # of as a list of values @days # ($days[0], $days[1],... $days[n]) # Arrays can be sliced, and a slice of a literal list # is the same as taking a slice of something that # returns a list (in this case a range operator) @days[3,4,5] # same as @days[3..5] # Hash lookups can also be sliced, and a slice of a # literal list is the same as taking a literal # list of lookups. @days{'a','c'} # same as ($days{'a'},$days{'c'}) # You write a hash like %days, and you can think of # it as a list of key/value pairs. %days # (key1, val1, key2, val2 ...)