in reply to basic question on split

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