use an absolute path in @INC, so that changes of directories
don't break dynamically loaded modules.
p4raw-id: //depot/perl@32214
$VERSION = 1.01;
chdir 't' if -d 't';
-@INC = '../lib';
+if ($^O eq 'VMS') {
+ require File::Spec;
+ @INC = File::Spec->rel2abs('[-.lib]');
+}
+else {
+ @INC = '../lib';
+}
# Don't interfere with the taintedness of %ENV, this could perturbate tests
$ENV{PERL_CORE} = 1 unless ${^TAINT};