Hi, on 11/4/2000 11:33 am, owner-macperl-anyperl@cfcl.com Tue Apr 11 12:27:49 2000 at owner-macperl-anyperl@cfcl.com Tue Apr 11 12:27:49 2000 wrote: > Learning Perl on the Mac makes implementing it on UNIX seem awkward - :) > > I'm having some difficulties porting a MacPerl script to a UNIX server. > Basically, on the Mac if I want to create a file I just use open(FILE, > ">>filename"). This works fine from the shell on UNIX, but when I try this > in a CGI script, it doesn't like it. What am I doing wrong? First off, how does it "not like it" --- what error are you getting? My *guess* would be that the CGI script is running as a user who doesn't have the permission to write to the file in question. Also, if you are appending information to a file from a CGI script you are remembering to lock it to prevent two separate instances of the CGI writing to the file at the same time aren't you ;-) Hope this helps. Cheers, Adrian > > Any help, even a pointer to a good resource, would be appreciated > > Jake MacMullin > > > > ==== Want to unsubscribe from this list? > ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org > ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org