in reply to Pretty Perl display in HTML?

There is a perl script that does this. It's called "code2html". (There are actually two programs that are called code2html, but only one does perl. They are almost at the same version number 0.8.11 and 0.9.) A perl one-liner for Windows was presented a couple of weeks ago here by Intrepid.

Here is a code fragment that has been run through it:

$report = new Webworks::Log::Report;
$report
->print_form;
print
qq§ Jumping to good place in file\n§;

$report->html_header(qq§<HTML>
<HEAD>
 <TITLE>- A log report-</TITLE>
</HEAD>
<body>
 §
 );

So you can see some errors it does too.

/jeorgen