in reply to Code formatting

PerlTidy has an output option of colored html that you might want to look into.

--hsm

"Never try to teach a pig to sing...it wastes your time and it annoys the pig."