ccarden has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way, with the perl mkdir command, to make parent directories as needed?
At least up to 5.6x, perl does not seem to have an equivalent to the -p switch in the *nix version.
If perl's mkdir won't handle it, can anyone suggest a simple workaround?
Thanks,
ccarden
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "mkdir -p" equivalent?
by esh (Pilgrim) on Aug 05, 2003 at 19:06 UTC | |
|
Re: "mkdir -p" equivalent?
by blue_cowdawg (Monsignor) on Aug 05, 2003 at 19:27 UTC | |
by ccarden (Monk) on Aug 05, 2003 at 22:44 UTC | |
|
Re: "mkdir -p" equivalent?
by skx (Parson) on Aug 06, 2003 at 11:35 UTC | |
|
Re: "mkdir -p" equivalent?
by Abigail-II (Bishop) on Aug 05, 2003 at 21:45 UTC | |
by ccarden (Monk) on Aug 05, 2003 at 22:55 UTC | |
by Abigail-II (Bishop) on Aug 06, 2003 at 07:53 UTC | |
by ccarden (Monk) on Aug 06, 2003 at 21:38 UTC | |
|
Re: "mkdir -p" equivalent?
by jhasting (Initiate) on Aug 05, 2003 at 21:16 UTC | |
by ccarden (Monk) on Aug 05, 2003 at 22:47 UTC |