in reply to "mkdir -p" equivalent?
As msh said somewhat tersely check out File::Path and read the doco.
Here is a sample of its use:
#!/usr/bin/perl -w ############################################## use strict; use diagnostics; use warnings; use File::Path; mkpath(["/usr/tmp/over/the/rainbow"],1,0755);
Peter @ Berghold . Net
Sieze the cow! Bite the day!
Test the code? We don't need to test no stinkin' code! All code posted here is as is where is unless otherwise stated.
Brewer of Belgian style Ales
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: "mkdir -p" equivalent?
by ccarden (Monk) on Aug 05, 2003 at 22:44 UTC |