in reply to Re: Test Number of Elements In Array
in thread Test Number of Elements In Array

You could make it more verbose by using scalar.
More verbose, but absolutely unambiguous to the future reader, who may even be the original author.

Replies are listed 'Best First'.
Re^3: Test Number of Elements In Array
by chromatic (Archbishop) on Jun 05, 2009 at 18:20 UTC

    If a future reader does not understand scalar context in Perl (especially in this hoary idiom for counting the number of elements in an array!), you have far greater worries than whether he or she will understand this expression.