- # Gender
- if ($data->{gender}->[0]) {
- if ($data->{gender}->[0] == 1) {
- $gender = $dataspecref->{male};
- } elsif ($data->{gender}->[0] == 2) {
- $gender = $dataspecref->{female};
- } else {
- $gender = $dataspecref->{unspecified};
- }
- } else {
- $gender = $dataspecref->{unspecified};
- }
-