Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^6: Golf: Seven segment display

by mtve (Chaplain)
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


Comment on Re^6: Golf: Seven segment display
Download Code

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 examining the Monastery: (12)
As of 2014-07-31 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (253 votes), past polls