Along the line of the current Perl thread.
The follow two constructs are frequently helpful. Perl does not evualate
anything betwee single quotes. '[EMAIL PROTECTED]' will not product an error
but "[EMAIL PROTECTED]" will in Perl 5.X. One caution, you cannot use
variable between single quotes.
print '$answer';
print "$answer" not the value contained in $answer.
If you are going to have multiple lines of HTML use the "extended
string here" construction.
$HTML=<<CODE;
print Content-type: text/html
<HEAD></HEAD>
<BODY BGCOLOR="BLACK">
<H1>$Heading</H1>
<A HREF="mailto:[EMAIL PROTECTED]">email webmaster</A>
CODE
print $HTML
Anything between the "CODE;" and CODE is a big string, the $Heading
is evualated and the double quotes and @ do not need to be escaped. The
$HTML could be replace with print.
Urb, W2DEC [EMAIL PROTECTED]
Visit America's Town Square. Creators of extraordinary Web sites.
http://www.usats.com Build your own Home Page without knowing
any HTML. Many user selectable options. After creation, your page
is e-mailed to you. http://usats.com/homepage
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------