Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: Golf: Seven segment display

by mtve (Deacon)
on Jan 29, 2012 at 10:59 UTC ( #950563=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Golf: Seven segment display
in thread Golf: Seven segment display

Cool!

Could be shortened by two chars using the same tricks:

say map{substr'   | |_|_ _ _|',vec('0123456789abcdef',$'.$_,4),3}split!//,"@_"for 0..2

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2016-07-26 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (234 votes). Check out past polls.