scalar (@array) can be used to find the number of elements in @array.
@{$foo} can be used to work with the array represented by the array
reference $foo
you can combine the two for scalar(@{$foo})
Also remember hashes are even sized arrays.

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to