Re: Perl CGI Newbie

2003-06-30 Thread Kristofer Hoch
Mark, Try this. It is completly untested so you may have to tweak it a bit. I wrote it this morning before having coffee. Kristofer #!/usr/bin/perl use warnings; use strict; use CGI::Carp 'fatalsToBrowser'; use CGI; sub writeToFile{ my $result = shift || return; # Returns if undefined open

Re: Perl CGI Newbie

2003-06-29 Thread Mark Anthony Sioting
Dear Sirs, As instructed, I put quotations on the attributes of my html file as follows: 1: 2: 3: Test: Write to a file 4: 5: http://192.168.1.1/cgi-bin/chap05/test.cgi"; METHOD="POST"> 6: Name: 7: 8: 9: 10: As you noticed I put the number lines on the scripts here on thi