Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Golf for unique digits

by space_monk (Chaplain)
on Jan 09, 2013 at 11:41 UTC ( #1012453=note: print w/ replies, xml ) Need Help??


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

Yup, just answered my own question and got a birdie

perl -E '$y=2013;$y=~/$_/&&$c++for 0..9;say$c'
A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re^3: Golf for unique digits
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012453]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-08-03 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (45 votes), past polls