C:\temp\temp\FOO>type FOO.pm package FOO; $FOO::VERSION = 0.5; 1; C:\temp\temp\FOO>type Makefile.PL use ExtUtils::MakeMaker; WriteMakefile ( NAME => 'FOO', VERSION_FROM => 'FOO.pm', ); C:\temp\temp\FOO>type t\01t.t #!perl -T use FOO; use Test::More tests => 2; is(${^TAINT}, 1, 'taint test'); is($FOO::VERSION, 0.5, 'version test'); #### C:\temp\temp\FOO>perl makefile.PL Writing Makefile for FOO C:\temp\temp\FOO>dmake test cp FOO.pm blib\lib\FOO.pm C:\perl512_M\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01t.t .. ok All tests successful. Files=1, Tests=2, 1 wallclock secs ( 0.09 usr + 0.03 sys = 0.12 CPU) Result: PASS #### C:\temp\temp\FOO>perl -T -Mblib t/01t.t Insecure dependency in require while running with -T switch at t/01t.t line 2. BEGIN failed--compilation aborted at t/01t.t line 2. C:\temp\temp\FOO>