Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by dragonchild (Archbishop)
on Aug 08, 2001 at 22:22 UTC ( #103148=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) Let's go bowling
in thread (Golf) Let's go bowling

I can cut you down to 163 characters by doing standard golfings ($_=join',',@_;, for example). However, you get 189 if given ('X')x12. (I'm not doing much better, myself. *winces*

------
/me wants to be the brightest bulb in the chandelier!

Vote paco for President!


Comment on Re: Re: (Golf) Let's go bowling
Download Code
Replies are listed 'Best First'.
Re: Re: Re: (Golf) Let's go bowling
by nardo (Friar) on Aug 08, 2001 at 22:31 UTC
    you get 189 if given ('X')x12

    I think you copied my code wrong
    print &bowlscore(('X')x12), "\n";
    prints 300 on my machine.
      You're right. I did copy it down wrong. However, you still fail on
      qw(0 / X 0 / X 0 / X 0 / X 0 / X 0 /) 201 (should be 200) qw(X 0 / X 0 / X 0 / X 0 / X 0 / X) 181 (should be 200)

      ------
      /me wants to be the brightest bulb in the chandelier!

      Vote paco for President!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2015-07-07 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls