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

(tye)Re: (Golf) Let's go bowling

by tye (Cardinal)
on Aug 11, 2001 at 12:00 UTC ( #104124=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub bowl {
        $_=pop;
        s#(\d)([\d/](?=(.)))|X(?=(..))|.#$3?"X$3":$4?"X$4":$1.$2#ge;
        s#\d/#/#g;
        map{(y./X.aa.)x hex}split//
    }
    
  2. or download this
    sub bowl {
        $_=pop;
        s#(\d)(\d|/(?=(.)))|X(?=(..))|.#$3.$4?"X$3$4":$1.$2#ge;
        s#\d/#/#g;
        map{(y./X.a.)x hex}split//
    }
    
  3. or download this
    sub bowl {
        $_=pop;
        s#(\d)(\d(?=.)|/(?=(.)))|X(?=(..))|.#$3.$4?"X$3$4":$1.$2#ge;
        s#\d/#/#g;
        map{(y./X.a.)x hex}split//
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2014-08-01 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls