vaevictus has asked for the wisdom of the Perl Monks concerning the following question:
That produces strangenesses... To the browser:#!/usr/bin/perl -wT use strict; use CGI ; my $q= new CGI; print $q->header; print $q->start_html(-head=>Link({-rel=>'next', -href=>'http://www.capricorn.com/s2.html'} +)); print $q->h1 ("Welcome to Vaevictus.net"), $q->p( "not much here yet" ), $q->end_html;
and to the errorlog:HTTP/1.1 200 OK Date: Thu, 04 Jan 2001 23:01:35 GMT Server: Apache/1.3 +.12 (Unix) mod_perl/1.24 PHP/4.0.2 mod_ssl/2.6.6 OpenSSL/0.9.6 Connection: close Content-Type: text/html; charset=iso-8 +859-1 OK The server encountered an internal error or misconfiguration and was u +nable to complete your request. Please contact the server administrator, vae@deathstar and inform them + of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error + log.
shouldn't the example from the perldoc work?[Thu Jan 4 17:01:35 2001] [error] Undefined subroutine &Apache::ROOTw +ww_2evaevictus_2enet::index_2epl::Link called at /home/vae/public_htm +l/index.pl line 10.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What did i do to CGI.pm?
by merlyn (Sage) on Jan 05, 2001 at 04:27 UTC | |
by vaevictus (Pilgrim) on Jan 05, 2001 at 04:46 UTC | |
by merlyn (Sage) on Jan 05, 2001 at 04:55 UTC | |
|
Re: What did i do to CGI.pm?
by Fastolfe (Vicar) on Jan 05, 2001 at 04:14 UTC | |
by vaevictus (Pilgrim) on Jan 05, 2001 at 04:16 UTC | |
by Fastolfe (Vicar) on Jan 05, 2001 at 04:21 UTC | |
by vaevictus (Pilgrim) on Jan 05, 2001 at 04:20 UTC | |
by Fastolfe (Vicar) on Jan 05, 2001 at 04:24 UTC | |
|
Re: What did i do to CGI.pm?
by damian1301 (Curate) on Jan 05, 2001 at 04:39 UTC | |
|
Re: What did i do to CGI.pm?
by vaevictus (Pilgrim) on Jan 05, 2001 at 04:44 UTC | |
by Ovid (Cardinal) on Jan 05, 2001 at 05:05 UTC |