I think you want my $restLength = @rest; It's not a split problem at all. The length function puts @rest in scalar context, giving 3, and you're getting length('3').
After Compline,
Zaxo
In reply to Re: Basic question about split
by Zaxo
in thread basic question on split
by Vince75
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |