Ok, I was able to get rid of all those error but now the CGI is not
picking up the data from the form.
Am I using it correctly? When I get rid of the "my %FORM;" it works
fine.
my %FORM;
my $index = $FORM{'index'};
>>> Paul Johnson <[EMAIL PROTECTED]> 11/26/02 04:58PM >>>
On Tue, Nov 26, 2002 at 04:40:14PM -0500, Fred Sahakian wrote:
> Hello,
>
> Im working a program and trying to get the pragma 'strict' to work. I
> cant define a variable though, Im stuck, any ideas?
>
> my $changeaddress = $FORM{'changeaddress'};
>
>
> I keep getting an error on the $FORM
>
>
> Using "my $FORM{'changeaddress'}" doesnt work.
>
>
> what is the correct way to handle this?
The error should give you a clue. FORM is a hash, so:
my %FORM;
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net