in reply to set permissions automatically

I'm not sure what you mean by "all at once." As others have pointed out, you can use sysopen() but you have to concern yourself with the process umask when you do. It's probably better just to open the file, write it, close it, and then set the permissions with Perl's chmod() function.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: set permissions automatically
by wolverina (Beadle) on Nov 16, 2002 at 21:47 UTC
    yea.. that's what i'm looking for.. guess i was tired. :)-Lisa