The followings are the file what I ran, and the result what I got actually.
Thank you for quick response,
Talk to you later,
Justin
use CGI qw/:standard/;
print header(),
start_html(-title=>'Wow!'),
h1('Wow!'),
'Look Ma, no hands!',
end_html();
The following is the output
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"
xml:lang="en-US"><head><title>Wow!</title>
</head><body><h1>Wow!</h1>Look Ma, no
hands!</body></html
Note: forwarded message attached.
Xiangli Zhang (Justin)
306-310 Decaire Street, Coquitlam
BC, Canada, V3K 6X1
phone: 604-9099181
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam--- Begin Message ---
Hi,
Send a sample of your code to clarify the problem you are having.
Bye,
Josimar
----- Original Message -----
From: "Xiangli Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18, 2004 4:29 PM
Subject: HTML problems in perl running
> When I run perl script with embedd HTML part in Fedora linux system. It
did not output the expected contents included in the body of HTML, but the
original codes in the file. i.e. the file is treated as a text file and be
opened.
>
> Can anybody help me figure out the p?
>
> Thanks a lot,
>
> Justin
>
>
>
>
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
--- End Message -----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>