LA.pm: Perl Tomorrow

Douglas Wilson dgwilson at gtemail.net
Thu Sep 27 13:59:34 CDT 2001


From: Arkadiy Sudarikov <asudarikov at xceed.com>

> module produced a fatal under -T, I mean, come on, what kind of a module is
> that?

Though Jeff already suggested Date::Calc, which is
probably a better way to go, its not the module
producing the taint error, its your environment.

The module uses a system call (with backticks), but
your environment is tainted, and so the system call
fails, as it should. You need to untaint $ENV{PATH}
and $ENV{ENV} in your script, (set them to the empty
string if you don't need'em for anything else).

HTH,
-Doug
-- 

_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 






More information about the Losangeles-pm mailing list