in reply to Re^2: scoping problemsin thread scoping problems
If you use @saba, not $saba, in scalar context, you get the arraysize indeed. This is why your $i<@saba works.