Re: Use of uninitialized value in string eq at ./adpanel.pl line 37.

2001-06-08 Thread Ondrej Par
On Friday 08 June 2001 16:39, [EMAIL PROTECTED] wrote: > 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. > Dec

RE: Use of uninitialized value in string eq at ./adpanel.pl line 37.

2001-06-08 Thread Lynch, Dennis
er 'add' nor 'delete', $action is not initialized. Its value remains NULL. This is necessarily bad, but the -w switch will warn you with Use of uninitialized value in string eq at ./adpanel.pl line 37. Check your logic to ensure that you are correctly setting $action. Hope

Re: Use of uninitialized value in string eq at ./adpanel.pl line 37.

2001-06-08 Thread Ondrej Par
On Friday 08 June 2001 16:29, [EMAIL PROTECTED] 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

Re: Use of uninitialized value in string eq at ./adpanel.pl line 37.

2001-06-08 Thread Peter Cline
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}; >

Use of uninitialized value in string eq at ./adpanel.pl line 37.

2001-06-08 Thread charles
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