Arrays can be defined literally in Perl code by simply enclosing the array elements in parentheses and separating each array element with a comma.
For example
(1, 2, 3) ("fred", "albert") () # empty array (zero elements) (1..5) # shorthand for (1,2,3,4,5)