in reply to Re: $ARGV dilemma
in thread $ARGV dilemma

Doesn't numeric comparison already put it in scalar context? i.e. isn't
print "too few$/" if scalar(@ARGV) < 3;
Equivalent to:
print "too few$/" if @ARGV < 3;

Replies are listed 'Best First'.
Re: Re: Re: $ARGV dilemma
by blue_cowdawg (Monsignor) on May 27, 2001 at 16:52 UTC

    While I can't show you an example: I have seen numeric comparisons not work. Wish I could remember where it happened but it was a while ago...


    Peter L. BergholdSchooner Technology Consulting, Inc.
    Peter@Berghold.Netwww.berghold.net