Hello Everyone

The following code :-

#!/usr/bin/perl -w
#
# emails comments from the site to my address
#
use strict;
use CGI;
#
#
my $q = new CGI;
my $name = $q->param( "name" );
my $email = $q->param( "email" );
my $comments = $q->param( "comments" );
my $info = ("$name\n$email\n$comments\n");

gives me an 'initialized variable' error for line 13 (the bottom line
here). There are more but probably of no interest to anyone.

Using each parameter alone does not fail. It looks as though adding a
parameter name immediately after a \n does not work. I thought it did!

tia for the simple answer

Jimmy George

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to