Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: What did i do to CGI.pm?

by vaevictus (Pilgrim)
on Jan 05, 2001 at 04:44 UTC ( [id://49934]=note: print w/replies, xml ) Need Help??


in reply to What did i do to CGI.pm?

Better mention that I removed the hitches to mod_perl and still had the issues... now errors as
Undefined subroutine &main::Link called at /home/vae/public_html/index +.cgi line 10.

Replies are listed 'Best First'.
(Ovid) Re(2): What did i do to CGI.pm?
by Ovid (Cardinal) on Jan 05, 2001 at 05:05 UTC
    This:
    use CGI; my $q = CGI->new; print $q->start_html( -title => "Some Title", -style => { src => '../style.css', type => 'text/css' } );
    Produces:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>S +ome Title</title> <link rel="stylesheet" type="text/css" href="../style.css"> </head><body>
    I believe you were looking for how to include a proper CSS link? That should do it. I'm using CGI.pm version 2.74.

    Gosh, I love CGI.pm :)

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://49934]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found