|Perl Monk, Perl Meditation|
"mkdir -p" equivalent?by ccarden (Monk)
|on Aug 05, 2003 at 19:01 UTC||Need Help??|
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?