The mod_perl Developer's Cookbook : Apache::TaintRequest.pm
"overrides the print mechanism in the mod_perl Apache module. The new print method tests each chunk of text for taintedness. If it is tainted we assume the worst and html-escape it before printing." see also : I hate squirrels