in reply to File::Path::rmtree on UNC path (updated)
#!/usr/bin/perl -- use strict; use warnings; my $dir = "__poop"; rmdir $dir or warn $!; mkdir $dir or die $!; chdir $dir or die $!; $dir = "../$dir" ; rmdir $dir or die sprintf "Cannot rmdir($dir): %d(%s) %d(%s)", int($!),$!,int($^E),$ +^E; __END__ No such file or directory at test.pl line 6. Cannot rmdir(../__poop): 13(Permission denied) 32(The process cannot a +ccess the file because it is being used by another process) at test.p +l line 10.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Path::rmtree on UNC path (updated)
by rovf (Priest) on Mar 04, 2009 at 13:25 UTC | |
by swhl (Initiate) on Jun 10, 2009 at 10:01 UTC | |
by rovf (Priest) on Jun 10, 2009 at 11:40 UTC |