>>>>> "S" == Saran  <mail2sarava...@gmail.com> 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  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to