[Nh-pm] strange syntax error

Black, Franklin fblack at docucorp.com
Wed May 7 10:29:41 CDT 2003


This code works

#!/l:\util\perl\bin\perl 
 use Getfunclines;
 use Getofflength;
 my @array;
 my $file=$ARGV[0];
 my $prec;
 Getofflength:GetArrays($file);
 
 my @array= @{$prec};

 print @array;


This code says I have a syntax error at line 7 near Getofflength:


#!/l:\util\perl\bin\perl 
 use Getfunclines;
 use Getofflength;
 my @array;
 my $file=$ARGV[0];
 my $prec;
 $prec = Getofflength:GetArrays($file);
 
 my @array= @{$prec};

 print @array;


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/nh-pm/attachments/20030507/732f8f47/attachment.htm


More information about the Nh-pm mailing list