Craig A. Berry [Tue, 23 Oct 2007 03:43:02 +0000 (03:43 +0000)]
p4raw-id: //depot/perl@32176
use strict;
use warnings;
use warnings::register;
-our $VERSION = '1.11';
+our $VERSION = '1.12';
require Exporter;
require Cwd;
if ($Is_MacOS) {
$tmp = (':' x ($CdLvl-$Level)) . ':';
}
+ elsif ($Is_VMS) {
+ $tmp = '[' . ('-' x ($CdLvl-$Level)) . ']';
+ }
else {
$tmp = join('/',('..') x ($CdLvl-$Level));
}
- die "Can't cd to $dir_name" . $tmp
+ die "Can't cd to $tmp from $dir_name"
unless chdir ($tmp);
$CdLvl = $Level;
}