You can use Gets, but the input will be a string. In order for it to be an array you will have to split() the input. Something like:

 Code:
? "Type Input, seperated by commas"
gets $input
$input=split($input,",")
for each $item in $input
  ? $item
next