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

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

by tye (Sage)
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 surveying the Monastery: (12)
As of 2015-08-28 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (335 votes), past polls