Use:
return \@best, [ grep{ !--$seen{ $_ } <= 0 } @$aRef ];
The trouble with the FAQ is it conflates two things.
In reply to Re^9: Divide array of integers into most similar value halves
by BrowserUk
in thread Divide array of integers into most similar value halves
by Pepe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |