in reply to Running with -T and -Mblib

blib puts tainted directories in @INC and doesn't attempt to untaint them , ExtUtils::testlib does untaint them

You can run individual files with (both of these will peek at the shebang)

prove -vb t/01t.t nmake test TEST_VERBOSE=1 TEST_FILES=t/01t.t dmake test TEST_VERBOSE=1 "TEST_FILES=t/01t.t t/02t.t"
or
perl -MExtUtils::testlib -T t/01t.t
There is probably an equivalent for Module::Build/Build/Build.bat

Replies are listed 'Best First'.
Re^2: Running with -T and -Mblib
by syphilis (Archbishop) on Jan 27, 2011 at 08:11 UTC
    Not sure if that fits in all that well with what I asked for ... but, in terms of what I want, that's pretty good :-)
    Thanks !

    There is probably an equivalent for Module::Build

    Not an issue.

    Cheers,
    Rob
      Not sure if that fits in all that well with what I asked for ...

      Well, you could add BEGIN { @INC = map /^(.+)$/, @INC ;  } or the like, or submit a patch for blib and hope it gets propagated :)