What does your logic make of this?
@a = 'a'..'b'; print $z = @a[0,1] = @a[ 1, 0 ];; 2 [download]
In reply to Re^9: Scalar context of slice ("list") by BrowserUk in thread Scalar context of slice by thenaz