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