Subject: | CGI.pm throwing error when running under modperl Response handler |
If you use Text::MediawikiFormat in a mod_perl server - but use a
handler which doesn't expose $r as a global variable (i.e. if you use
modperl) as the handler type, then Text::MediawikiFormat fails with a
major bug in
CGI.pm
Text::MediawikiFormat can circumvent this by useing HTML::Entities
(replace the use CGI qw(:common) with use HTML::Entities) and all
references to CGI::escapeHTML with encode_entities.
James