Wc -Sx- Jones wrote: > > R. Joseph Newton wrote: > > > print "Greater count was $greater_count\n"; > > print "Lesser count was $lesser_count\n"; > > But that was my point - you could just use ++$#array; because you are > only testing sizeOf array - a true test would be to see if they are > identical in what each array holds.
You do realise that ++$#array modifies @array? $ perl -le' @array = 90 .. 99; print scalar @array; ++$#array; print scalar @array; ++$#array; print scalar @array; ' 10 11 12 John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>