On Wednesday 18 May 2011 12:25:52 ind...@students.itb.ac.id wrote:
> Dear all,
>
> I try to run this script to process my radar data, the script build by
> someone, I have asked him, but his advice can not help. This error message
> : ARGV error
> firstradar velx vely
>
> This is the Perl code:
>
> "S" == Saran 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 Revie
Try something like
if(scalar(@ARGV) != 3) {
The above statement will execute if there is less than or greater than
three command line arguments..
~ Saran
On May 18, 2:37 pm, benignb...@gmail.com (Balachandran Sivakumar)
wrote:
> On Wed, May 18, 2011 at 2:55 PM, wrote:
> > ARGV error
> > first
On Wed, May 18, 2011 at 2:55 PM, wrote:
> ARGV error
> firstradar velx vely
>
>
> if(@ARGV != 3){
> print "ARGV error \n";
> print "firstradar velx vely \n";
> exit(1);
> }
>From what I see, this script expects command line arguments
and expects 3 arguments. So, you should run it someth
Dear all,
I try to run this script to process my radar data, the script build by someone,
I have asked him, but his advice can not help. This error message :
ARGV error
firstradar velx vely
This is the Perl code:
#! /usr/bin/perl
$UNFOLD = 0; #1=UNFOLD^[$B%G!<%?$r;HMQ^[(B
0=^[$B@8^[(Bvolu