in reply to RE: Re: How do I create files on the server?
in thread How do I create files on the server?
touch blank.fileand in your code: (I haven't had my coffee yet, so this isn't Perl; it's psuedocode.)
if ( need_new_file() ) { copy( blank.file, new.file ); } open( *NEW_FILE, ">>new.file" ); print NEW_FILE $stuff; close NEW_FILE;
Okay, it's a kludge. But, it works. And without needing extra permissions.
Paris Sinclair | 4a75737420416e6f74686572 pariss@efn.org | 205065726c204861636b6572 I wear my Geek Code on my finger.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: Re: How do I create files on the server?
by Anonymous Monk on Jul 17, 2000 at 07:10 UTC | |
by Aighearach (Initiate) on Jul 17, 2000 at 12:30 UTC | |
by Anonymous Monk on Jul 17, 2000 at 16:23 UTC | |
by Ozymandias (Hermit) on Jul 17, 2000 at 20:25 UTC | |
by infoninja (Friar) on Jul 17, 2000 at 20:37 UTC |