R
ragavendran31
Hi all,
While i try 2 execute this prgm im getting output as Zero..... i didnt
get clear info abt @ARGV so can anyone help me reg this .... but in
notes its saying that in commandline v shd give sme inputs for sum ...
My Program is as Follows :
my $tot = 0;
$tot += $_ for @ARGV;
print"the total is $tot\n";
Thanks in advance.
By,
Ragavendran R
While i try 2 execute this prgm im getting output as Zero..... i didnt
get clear info abt @ARGV so can anyone help me reg this .... but in
notes its saying that in commandline v shd give sme inputs for sum ...
My Program is as Follows :
my $tot = 0;
$tot += $_ for @ARGV;
print"the total is $tot\n";
Thanks in advance.
By,
Ragavendran R