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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]