in reply to Re: Recursive directories
in thread Recursive directories
Sorry, but I think you missed something:
a) You must NOT use File::Path->make_path if you don't want to create directories named 'File::Path'. You can use
use File::Path qw(make_path); make_path($dir);
or
use File::Path; File::Path::make_path($dir);
b) I can't see the reason for your chdir-problem from the three lines of code given. So you missed to provide some further context. At least you have to explain what you expected and what you got.
Regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Recursive directories
by rustic (Monk) on Apr 02, 2014 at 14:57 UTC |