Date: Thu, 11 Jan 2007 00:04:06 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Simon L. Nielsen" <simon@freebsd.org> Cc: Tom Rhodes <trhodes@freebsd.org>, Daniel Gerzo <danger@freebsd.org>, doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: www/en/cgi query-pr-lib.pl query-pr-summary.cgi query-pr.cgi Message-ID: <20070110220406.GA10849@kobe.laptop> In-Reply-To: <20070110214608.GC998@zaphod.nitro.dk> References: <200701101747.l0AHld1U015012@repoman.freebsd.org> <20070110214608.GC998@zaphod.nitro.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-01-10 22:46, "Simon L. Nielsen" <simon@FreeBSD.org> wrote: > On 2007.01.10 17:47:39 +0000, Daniel Gerzo wrote: > > danger 2007-01-10 17:47:39 UTC > > > > FreeBSD doc repository > > > > Modified files: > > en/cgi query-pr-summary.cgi query-pr.cgi > > Added files: > > en/cgi query-pr-lib.pl > > Log: > > Merge query-by-number and multi-field query forms. > > This work included: > > > > - move a few functions out of query-pr-summary.cgi into a new file - > > query-pr-lib.pl, which now provides a procedure to display forms > > - include query-pr-lib.pl in both query-pr.cgi and query-pr-summary.cgi > > scripts > > > > PR: www/35647 > > Approved by: trhodes (mentor), keramida (mentor) > > Silence from: www@ > > [simon@zaphod:~] fetch http://www.freebsd.org/cgi/query-pr-summary.cgi > fetch: http://www.freebsd.org/cgi/query-pr-summary.cgi: Internal Server Error > > [Wed Jan 10 21:42:56 2007] [error] [client 69.147.83.37] Can't locate ./query-pr-lib.pl in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8) at /www/sites/www.freebsd.org/data/cgi/query-pr.cgi line 39. > [Wed Jan 10 21:42:56 2007] [error] [client 69.147.83.37] Premature end of script headers: query-pr.cgi That's odd. './cgi-lib.pl' is in the same path and it doesn't seem to have the same problems. There is a difference between cgi-lib.pl and query-pr-lib.pl but I'm not sure if this has anything to do with failing to find './query-pr-lib.pl' without @INC. The cgi-lib.pl script starts with: #!/usr/bin/perl -- -*- C -*- But the query-pr-lib.pl script starts with: #!/usr/bin/perl -Tw Is there any case the -Tw switches break 'query-pr-lib.pl' as a module?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070110220406.GA10849>