diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 06:44:42 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 06:44:42 +0000 |
commit | f0963acb6df75767aaf57c94e1e7509003ff1543 (patch) | |
tree | caab5a83cad07f6fe3efa85385f4bc996ab12923 /t/pod | |
parent | c15a5d5de69fd60182fabfe5d4c4aba46fd1ca8a (diff) | |
download | perl-f0963acb6df75767aaf57c94e1e7509003ff1543.tar.gz |
consolidated VMS patches (from Craig A. Berry
<craig.berry@metamorgs.com>); Glob.pm patch modified to use
$DEFAULT_FLAGS, and iff no flags were supplied
p4raw-id: //depot/perl@5397
Diffstat (limited to 't/pod')
-rw-r--r-- | t/pod/testp2pt.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/pod/testp2pt.pl b/t/pod/testp2pt.pl index 234a5271c4..22bbaf8247 100644 --- a/t/pod/testp2pt.pl +++ b/t/pod/testp2pt.pl @@ -32,6 +32,7 @@ BEGIN { require Pod::PlainText; @ISA = qw( Pod::PlainText ); } + require VMS::Filespec if $^O eq 'VMS'; } ## Hardcode settings for TERMCAP and COLUMNS so we can try to get @@ -41,6 +42,8 @@ BEGIN { sub catfile(@) { File::Spec->catfile(@_); } my $INSTDIR = abs_path(dirname $0); +$INSTDIR = VMS::Filespec::unixpath($INSTDIR) if $^O eq 'VMS'; +$INSTDIR =~ s#/$## if $^O eq 'VMS'; $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 'xtra'); $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 'pod'); $INSTDIR = (dirname $INSTDIR) if (basename($INSTDIR) eq 't'); |