4 if( $ENV{PERL_CORE} ) {
6 @INC = ('../lib', 'lib');
17 plan skip_all => 'prefixify works differently on VMS';
25 my $mm = bless {}, 'MM';
27 my $default = File::Spec->catdir(qw(this that));
28 $mm->prefixify('installbin', 'wibble', 'something', $default);
30 is( $mm->{INSTALLBIN}, File::Spec->catdir('something', $default),
31 'prefixify w/defaults');
34 undef *ExtUtils::MM_Unix::Config;
35 $ExtUtils::MM_Unix::Config{wibble} = 'C:\opt\perl\wibble';
36 $mm->prefixify('wibble', 'C:\opt\perl', 'C:\yarrow');
38 is( $mm->{WIBBLE}, 'C:\yarrow\wibble', 'prefixify Win32 paths' );
39 { package ExtUtils::MM_Unix; Config->import }