http://qs321.pair.com?node_id=862701

halfcountplus has asked for the wisdom of the Perl Monks concerning the following question:

I'm working on a mod_perl based application which uses html forms for input. Since the whole thing is a module called by apache, there is no script in which to use the -T switch. I have found Taint::Runtime, which seems to work, but was wondering if there is a way to enable the native taint check within a .pm file.

Replies are listed 'Best First'.
Re: using Taint in apache modules
by Anonymous Monk on Sep 29, 2010 at 21:32 UTC
      gosh, looks like search for "mod_perl" better than search for "apache perl module" thanx
Re: using Taint in apache modules
by rowdog (Curate) on Sep 29, 2010 at 21:32 UTC

    The usual way to turn on tainting for mod_perl is PerlSwitches. That may or may not help you since PerlSwitches -T will turn on tainting for all modules.