Next | Program Repair Shop | 105 |
print "<BODY BGCOLOR=\"#ffffff\">\n";
print "<TABLE WIDTH=\"500\" CELLSPACING=\"0\" CELLPADDING=\"0\" BORDER=\"0\">\n";
...
print "<TD WIDTH=\"283\" VALIGN=\"BOTTOM\"> <MAP NAME=\"main1\"><AREA SHAPE=\"rect\" COORDS=\"170,20 200,44\" HREF=\"history.htm\"></MAP>\n";
\" is a red flag
A substantial fraction (10%) of this string is backslashes
This is why we have qq{}
print qq{<BODY BGCOLOR="#ffffff">\n};
print qq{<TABLE WIDTH="500" CELLSPACING="0" CELLPADDING="0" BORDER="0">\n};
...
print qq{<TD WIDTH="283" VALIGN="BOTTOM"> <MAP NAME="main1"><AREA SHAPE="rect" COORDS="170,20 200,44" HREF="history.htm"></MAP>\n};
Next | Copyright © 2002 M. J. Dominus |