PetaMem has asked for the wisdom of the Perl Monks concerning the following question:
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.
print <<"HTML"; <TABLE border=0 cellpadding=0 cellspacing=0 align=center> <TR> <TD height=100%> <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%> <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.
Bye
PetaMem All Perl: MT, NLP, NLU
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I need a title - sucka! :-)
by jeffa (Bishop) on Nov 21, 2003 at 20:41 UTC | |
by allolex (Curate) on Nov 21, 2003 at 21:02 UTC | |
by jeffa (Bishop) on Nov 21, 2003 at 22:04 UTC | |
by PetaMem (Priest) on Nov 21, 2003 at 21:39 UTC | |
by jeffa (Bishop) on Nov 21, 2003 at 22:11 UTC | |
by tilly (Archbishop) on Nov 30, 2003 at 18:14 UTC | |
by PetaMem (Priest) on Nov 22, 2003 at 10:38 UTC | |
by BUU (Prior) on Nov 22, 2003 at 16:27 UTC | |
| |
by PetaMem (Priest) on Nov 27, 2003 at 21:41 UTC | |
by jeffa (Bishop) on Nov 29, 2003 at 16:15 UTC | |
| |
by tilly (Archbishop) on Nov 30, 2003 at 19:30 UTC | |
by zby (Vicar) on Dec 01, 2003 at 11:02 UTC | |
| |
|
Re: I need a title - sucka! :-)
by perrin (Chancellor) on Nov 21, 2003 at 19:47 UTC | |
|
Re: I need a title - sucka! :-)
by ysth (Canon) on Nov 23, 2003 at 02:36 UTC |