The problem strikes when I have to chdir into that directory to do something there, like create a file but that's not even necessary. This piece of code creates me the mentioned "File::Path" subdirectory compared to the above :for (@list) { File::Path->make_path($path); }
for (@list) { File::Path->make_path($path); chdir $path or die "Cannot chdir: $!"; }
In reply to Re^3: Recursive directories
by rustic
in thread Recursive directories
by rustic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |