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.
>

Declaring variable with my() does not assign a value. It merely declares a 
variable. If you declare scalar variable, i.e. $action, it will have 
undefined value until you assign something non-undefined to it. When you 
declare a hash as my %formdata, it will be empty, the same applies to @array.

Is it clearer now?

-- 
Ondrej Par
Internet Securities
Software Engineer
e-mail: [EMAIL PROTECTED]
Phone: +420 2 222 543 45 ext. 112

Reply via email to