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

Reply via email to