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

Re: idiosyncrasy?

by Trimbach (Curate)
on May 30, 2001 at 07:56 UTC ( #84164=note: print w/replies, xml ) Need Help??

in reply to idiosyncrasy?

The "base" and "vlink" tags both belong in the "start_html" method when you're using There is no "body" function per se in, so by typing it the module is assuming you know what you're doing and pretends it's a valid tag. Your "body" function doesn't "enclose" anything, so makes the perfectly valid guess that "body" is a self-closing tag like "break " and puts the closing slash within the tag per XHTML 1.0 guidelines. You're getting similar problems with "base" which should also be an attribute of start_html, and not it's own function/method.

Try this instead: (untested)

print header, start_html (-title => 'Welcome to!', Link ({-rel => 'stylesheet', type => 'text/css', href => + 'style.css'}), base => '', vlink => "Black");
For more info check out the "start_html" docs in the POD.

Gary Blackburn
Trained Killer

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-01-20 16:34 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (57 votes). Check out past polls.