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

Re^2: Golf: Seven segment display

by brx (Pilgrim)
on Jan 25, 2012 at 09:41 UTC ( [id://949859]=note: print w/replies, xml ) Need Help??


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

sub w{for$;(1005,924745596,341831021){say map{$;>>$_&1?/../?'|':_:$"}m +ap{$_+20,$_,$_+10}$_[0]=~/./g}} w("59009");
output:
_ _ _ _ _ |_ |_|| || ||_| _| ||_||_| |

Replies are listed 'Best First'.
Re^3: Golf: Seven segment display
by jffry (Hermit) on Jan 25, 2012 at 15:54 UTC

    /me flips laptop upside down, laughs like Beavis & Butthead.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-18 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found