From perldoc -f split:my @array = split m/,/ , $_, -1;
If LIMIT is negative, it is treated as if it were instead arbitrarily large; as many fields as possible are produced.
In reply to Re: How to differentiate an empty array from an unitialized one?
by tinita
in thread How to differentiate an empty array from an unitialized one?
by iatros
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |