http://www.perlmonks.org?node_id=1012466


in reply to Re: Golf for unique digits
in thread Golf for unique digits

as a compensation a new approach: =)

> perl -ple'$_=join"",sort split//;y///cs;$_=length' 1987 4 1988 3 2012 3 2013 4

EDIT: shortened the say away...

Cheers Rolf