I found this through doing the wrong method for adding css. Can anyone duplicate?
#!/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;
That produces strangenesses... To the browser:
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.
and to the errorlog:
[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.
shouldn't the example from the perldoc work?

In reply to What did i do to CGI.pm? by vaevictus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.