Peter McCarthy wrote:
> Thanx for your help Adam, the location for perl was wrong, but now I get
> Can't locate cgi-lib.pl in @INC (@INC contains:
> /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
> /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at
> /www/cgi-bin/mailfeedback.cgi line 77.
> [Fri May 19 15:45:28 2000] access to /www/cgi-bin/mailfeedback.cgi failed for
> seldon, reason: Premature end of script headers
> 
> on doing a
> 
> locate cgi-lib.pl
> 
> i get no result so I can only assume I do not have this file on my system, is
> this a Perl lib file ? if so what RH rpm is it in ?

I don't have a cgi-lib.pl on my system either but lots of
stuff these days uses CGI.pm which is a Perl module for
doing CGI stuff. Looking inside CGI.pm I found this:

<quote>
To make it easier to port existing programs that use
cgi-lib.pl
the compatibility routine "ReadParse" is provided.  Porting
is
simple:

OLD VERSION
    require "cgi-lib.pl";
    &ReadParse;
    print "The value of the antique is $in{antique}.\n";

NEW VERSION
    use CGI;
    CGI::ReadParse
    print "The value of the antique is $in{antique}.\n";
</quote>

This makes me think that the perl script you are using may
be a bit old. You will be able to find both CGI.pm and prob
cgi-lib.pl on the CPAN site:
        http://www.cpan.org/

Mike

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02
9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to