Because the split call returns a list, and as you ignore the returned list, it gets stuffed into @_, the default array.
This feature is deprecated, meaning that it will disappear someday, and the interpreter is informing you so that the code can be modified to run on future versions of Perl.
In reply to Re: split giving warning
by pbeckingham
in thread split giving warning
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |