> On Sun, Jul 14, 2002 at 06:24:30PM +0200, Chris Knipe wrote:
>
> > Lo all,
> >
> > I was just wondering if there are any quick ways to make a directory
hiracy?
>
> [snip]
>
> > Anyone with some code to share? ;-)
>
> It's your lucky day :-)
>
> You'll be wanting the mkpath function in the standard File::Path module.


    mkpath($tmpDir, 0, oct("2750"));

MAN! I love it when things are so easy ;-)

Now, we just have to figure out file / directory ownership.... Hmmm, agh,
let me go have a look at File.pm and see what other goodies it has ;-)

Thanks a mil.

--
me



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to