Craig A. Berry [Sun, 11 Nov 2007 22:52:15 +0000 (22:52 +0000)]
with a relative path that is already in VMS syntax.
p4raw-id: //depot/perl@32276
use Exporter ();
use vars qw($VERSION @ISA @EXPORT);
-$VERSION = '2.02';
+$VERSION = '2.02_01';
@ISA = qw(Exporter);
@EXPORT = qw(mkpath rmtree);
# not a directory
$root = VMS::Filespec::vmsify("./$root")
- if $Is_VMS && !File::Spec->file_name_is_absolute($root);
+ if $Is_VMS
+ && !File::Spec->file_name_is_absolute($root)
+ && ($root !~ m/(?<!\^)[\]>]+/); # not already in VMS syntax
if ($arg->{safe} &&
($Is_VMS ? !&VMS::Filespec::candelete($root)