in reply to Find duplicate elements from an array

$"=", ";/\d+$/,say"$`@{$`{$`}}"for grep{/\d+$/;push@{$`{$`}},$&;@{$`{$ +`}}==1}<>