D
dacoman
Hello,
I have recently upgraded the server to Suse 10.1. Now I have a problem
wiht and old cgi script that does not compile anymore.
The error when I run the script with perl -w is:
/usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at
reg.cgi line 13.
BEGIN failed--compilation aborted at reg.cgi line 13.
The line that is causing the problem is:
Use Text::CSV;
Here is piece of code:
use strict;
use warnings;
use CGI qw
standard);
use Text::CSV;
##################################################
# create a new CGI object and CSV object
my $query = new CGI;
my $csv = Text::CSV->new();
The perl version is perl5.8.8 and I did install the package
perl-Text-CSV_XS that came with the Suse 10.1 distro.
What am I missing here? I would realy appreciate your help.
Thank you,
--D
I have recently upgraded the server to Suse 10.1. Now I have a problem
wiht and old cgi script that does not compile anymore.
The error when I run the script with perl -w is:
Can't locate Text/CSV.pm in @INC (@INC contains:# perl -cw reg.cgi
/usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at
reg.cgi line 13.
BEGIN failed--compilation aborted at reg.cgi line 13.
The line that is causing the problem is:
Use Text::CSV;
Here is piece of code:
use strict;
use warnings;
use CGI qw
use Text::CSV;
##################################################
# create a new CGI object and CSV object
my $query = new CGI;
my $csv = Text::CSV->new();
The perl version is perl5.8.8 and I did install the package
perl-Text-CSV_XS that came with the Suse 10.1 distro.
What am I missing here? I would realy appreciate your help.
Thank you,
--D