Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Golf for unique digitsby trizen (Hermit) |
on Jan 09, 2013 at 13:03 UTC ( [id://1012473]=note: print w/replies, xml ) | Need Help?? |
perl -E'$_="2013";/(.)(?=.*\1)(?{++$%})(?!)/||say+y+++c-$%'
In Section
Seekers of Perl Wisdom
|
|