my @addr = {$one, $two}; #### my %anon_hash; $anon_hash{$one} = $two; my @addr = \%anon_hash; #### my @addr = ($one, $two);