even when defining it as my %formdata; i still get the same error. i believe that i have tried it as my %formdata; my $formdata; the only other variable reference in that line is to $action, which has a my statement. On Fri, 8 Jun 2001, Peter Cline wrote: > At 09:29 AM 6/8/01 -0500, you wrote: > >I am getting: > > > > Use of uninitialized value in string eq at ./adpanel.pl line 37. > > > >even though my line 37 appears as: > > > > > >if ( $action eq "add" ) { <-- line 37 > > $add_alias = $formdata{alias}; > > $add_destination = $formdata{destination}; > > $add_tag = 1; > > > >} > > > > > >earlier in the script, i have > > > >my $action; > >my $add_alias; > >my $add_destination; > >my $add_tag; > > > >do i need to define my $formdata? > > Yes, you should define this variable as my %formdata since it is a hash. > > > Peter Cline > Inet Developer > New York Times Digital >