>>>>> "S" == Saran  <[email protected]> writes:

  S> Try something like
  S> if(scalar(@ARGV) != 3) {

there is no need for scalar there. the != op provides a scalar context
so @ARGV will return its count.

uri

-- 
Uri Guttman  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to