p4raw-id: //depot/perl@23247
use strict;
use vars qw(@ISA $VERSION);
-$VERSION = '0.88';
+$VERSION = '0.90';
$VERSION = eval $VERSION;
my %module = (MacOS => 'Mac',
my $self = shift ;
my ($path,$base ) = @_;
return undef unless defined $path;
- $path = vmsify($path) if $path =~ m/\//;
+ if ($path =~ m/\//) {
+ $path = ( -d $path || $path =~ m/\/\z/ # educated guessing about
+ ? vmspath($path) # whether it's a directory
+ : vmsify($path) );
+ }
$base = vmspath($base) if defined $base && $base =~ m/\//;
# Clean up and split up $path
if ( ! $self->file_name_is_absolute( $path ) ) {