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.
In reply to What did i do to CGI.pm? by vaevictus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |