For those who, like me, were puzzled about the idea of using 'x' in a list context, check out the 'perlop' manpage:
Binary "x" is the repetition operator. In scalar context,
it returns a string consisting of the left operand
repeated the number of times specified by the right
operand. In list context, if the left operand is a list
in parentheses, it repeats the list.
@ones = (1) x 80; # a list of 80 1's
@ones = (5) x @ones; # set all elements to 5
---
-DA
|