note
Tiefling
Nice golf, [jeroenes]. Trouble is, (if your sample output is right) it answers the original question, not the one I posed as a golf. What's the shortest way to produce exactly the elements which occurs <i>uniquely</i> (ie: only once) in the original array? [Davorg]'s code does the right thing, but it's a canonical answer, as he admits, rather than golf.<br>
<br>
Tiefling (Just Another Perl Newbie)<br>
<br>
<code>-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d++ s:- a-- C++ UL P++ L++(+) E? W+(++) N+ o? K w+(--)
!O M- V? PS+ PE- Y PGP- t+ 5 X+ R+++ tv- b+++ DI++++ D+ G+ e++ h!(-) y?
------END GEEK CODE BLOCK------</code>
91572
91631