Assuming you need a hashref:
$UserData->{'RealName' } = $RealName;
$UserData->{'Password' } = $Password1;
$UserData->{'RecoverPassword'} = $RecoverPasswordAddr if($RecoverPasswordAddr);
The funny thing is, your original code didn't throw an error when I did a perl -c but I don't recognize that syntax.
~Charlie
Code:
my $UserData; $UserData->{'RealName' } = $RealName;
$UserData->{'Password' } = $Password1;
$UserData->{'RecoverPassword'} = $RecoverPasswordAddr if($RecoverPasswordAddr);
The funny thing is, your original code didn't throw an error when I did a perl -c but I don't recognize that syntax.
~Charlie