Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Golf for unique digits

by BrowserUk (Pope)
on Jan 10, 2013 at 09:58 UTC ( #1012635=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -plE"@h{/./g}++;$_=keys%h"
    
  2. or download this
    perl -lpE'$_=s/(.)(?!.*\1)//g'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012635]
help
Chatterbox?
[LanX]: I can't hear the word inquisition without Mel Brooks jumping in front of my inner eye
[LanX]: what a show
[erix]: yeah, I found that -- that's pretty good :)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2017-01-18 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.