split returns an array, not a scalar. You can evaluate it in a scalar context if you like, but that's probably not your goal, according to the code you present (@ is for arrays).
In reply to Re: Assigning 2 arrays to scalar
by spurperl
in thread Assigning 2 arrays to scalar
by Dente
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |