Note: Don't forget to convert '<' to the HTML-safe equivalent '<' before printing the HTML.print "<TABLE>\n"; while (<FILE>) { chomp; print "<TR>", (map { $_ =~ s/</</g; "<TD>$_</TD>" } split (/\|/)), "</TR>\n"; } print "</TABLE>\n";
In reply to Re: Converting Text Files
by tadman
in thread Converting Text Files
by Confused
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |