for (keys %$ref2) { $ref2->{$_} = '' if (!defined $ref2->{$_}); } push @{ $tablist{$user_table} }, $ref2;