in reply to How to differentiate an empty array from an unitialized one?
my @array = split m/,/ , $_, -1; [download]
If LIMIT is negative, it is treated as if it were instead arbitrarily large; as many fields as possible are produced.