in reply to do("X.pl"); has no effect with tain mode...?

Specify the path to the file:

do("/path/to/X.pl"); # or do("./X.pl");

In taint mode, the "." directory is removed from the @INC paths (which are being searched when you specify a filename only).

Replies are listed 'Best First'.
Re^2: do("X.pl"); has no effect with tain mode...?
by expresspotato (Beadle) on Apr 15, 2009 at 01:24 UTC
    Okay thanks! I think I tried that but I'll give it another go!