[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] I'll give you eggnog for any help. :)



Is there any logic problems with this code? there are no syntax problems.
I am trying to append to a file name-value pairs.
It works on my iMac WebStar configuration
but not at work (NT Server IIS/Apache).



#code
use CGI;

print "HTTP/1.0 200 OK\n";
print "Content-type: text/html\n\n";

# Reading
open(IN, "test.out") or die "Can't open: $!";
$cgi = new CGI(IN);
# Writing
$cgi = new CGI;
open(OUT, ">>test.out") or die "Can't open: $!";
$cgi->save(OUT);
close OUT;



matt
www.psychosphere.net

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch