It didn't work, can anyone point me in the right direction?
-s-
print "<TR><TD ALIGN=CENTER COLSPAN=2 BGCOLOR=$config{'subcategorycolor'}><B>Auction Sub Categories<br>$backto</B></TD></TR>
print "<tr><td width="100%" bgcolor="#800000" background="http\://www.mysite.com/images/bg-mrn\.gif"><B>Auction Sub Categories<br>$backto</B></TD></TR>";
print "<tr><td width="100%" bgcolor="#800000" background="http\://www.mysite.com/images/bg-mrn\.gif"><B>Auction Sub Categories<br>$backto</B></TD></TR>";
You have to escape the quotation marks within the printed string. Use something like this:
print "<tr><td width=\"100%\" bgcolor=\"#800000\"
background=\"http\://www.mysite.com/images/bg-mrn\.gif\">
<B>Auction Sub Categories<br>$backto</B></TD></TR>";
print [perldoc.com] q [perldoc.com]q{<tr><td width="100%" bgcolor="#800000"
background="http\://www.mysite.com/images/bg-mrn\.gif"
><B>Auction Sub Categories<br>$backto</B></TD></TR>};
The q [perldoc.com]q operator acts just like double quotes but lets you choose the delimiter freely: qq/aaron/, qq¦aaron¦, aa{aaron} are all sytactically equivalent to "aaron".
You could use heredoc syntax as well:
print [perldoc.com] <<END_OF_HTML;
<tr><td width="100%" bgcolor="#800000"
background="http\://www.mysite.com/images/bg-mrn\.gif"
><B>Auction Sub Categories<br>$backto</B></TD></TR>
END_OF_HTML
Andreas