Yes, of course...I was <cough> testing you.
On 6/27/03 at 1:18 PM, [EMAIL PROTECTED] (Camilo Gonzalez) wrote:
> Study the third line closely. Andrew's code will not work.
>
> Charles K. Clarkson wrote:
>
> >Camilo Gonzalez <[EMAIL PROTECTED]> top posted:
> >:
> >: Andrew Brosnan wrote:
> >:
> >: > use CGI;
> >: > my $q = new CGI;
> >: > my $record = $q-param('text_field');
> >: > open(OUTFILE, ">output.txt") or die "Can't open output.txt:
$!";
> >: > print OUTFILE $record;
> >:
> >: Wrong. Try:
> >
> > Besides the close, these look the same to me. How is
> >Andrews' solution wrong?
> >
> >: use CGI;
> >: my $q = new CGI;
> >: my $record = $q->param('text_field');
> >: open(OUTFILE, ">output.txt") or die "Can't open output.txt:
$!";
> >: print OUTFILE $record;
> >: close OUTFILE;
> >
> >
> >Charles K. Clarkson
--
This post is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Any code
contained herein is likely UNTESTED and may cause your system
to explode upon execution. Furthermore, please be advised that
I am really just a Perl ninny, and you probably should not be
taking my advice in the first place.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]