Hi,

I set this to meditations, because I don't believe there is an answer to this problem. OTOH if I really do what I started to think "just accept the behaviour", then I open up a door where madness lies behind.

Given this simple code:

print <<"HTML"; <TABLE border=0 cellpadding=0 cellspacing=0 align=center> <TR> <TD height=100%>&nbsp;<BR></TD> </TR> <TR> <TD align=center class=copyleft valign=bottom> (c) 2003 Blah, $cust{'last change'}: $cfg{lastchange}, $cust{feedba +ck}: <A href="mailto:$cfg{webmaster_email}">$cfg{webmaster_email}</A><BR +> <A href=terms.cgi>$cust{terms2}</A><BR><BR> </TD> </TR> </TABLE> HTML print <<"HTML"; </BODY> </HTML> HTML

Voila! It works.

Doing a simple change during refactoring:

print <<"HTML"; <TABLE border=0 cellpadding=0 cellspacing=0 align=center> <TR> <TD height=100%>&nbsp;<BR></TD> </TR> <TR> <TD align=center class=copyleft valign=bottom> (c) 2003 Blah, $cust{'last change'}: $cfg{lastchange}, $cust{feedba +ck}: <A href="mailto:$cfg{webmaster_email}">$cfg{webmaster_email}</A><BR +> <A href=terms.cgi>$cust{terms2}</A><BR><BR> </TD> </TR> </TABLE> </BODY> </HTML> HTML

E voila! It works not. The page sent to the browser and the browser displays all ok, but the apache 2 (mod_perl) also attaches an error message with the wildest codes like 481, 539 etc. and states that either the server is overloaded or there is an error in the CGI script.

You see me puzzled.

Bye
 PetaMem
    All Perl:   MT, NLP, NLU


In reply to I need a title - sucka! :-) by PetaMem

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.