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');