my ($dir, $subdir) = $sharedir =~ /^(.*)\/(.*)$/; chdir $dir;
Actually, I would write this as
(should be no peril in this context, isn't it?), but, yes, you are right, this seems to work well!! Great idea!$chdir "$subdir\\..";
In reply to Re^4: File::Path::rmtree on UNC path (updated)
by rovf
in thread File::Path::rmtree on UNC path (updated)
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |