in reply to Re^3: File::Path::rmtree on UNC path (updated)
in thread File::Path::rmtree on UNC path (updated)

my ($dir, $subdir) = $sharedir =~ /^(.*)\/(.*)$/; chdir $dir;

Actually, I would write this as

$chdir "$subdir\\..";
(should be no peril in this context, isn't it?), but, yes, you are right, this seems to work well!! Great idea!

-- 
Ronald Fischer <ynnor@mm.st>