Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
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 browsing the Monastery: (6)
As of 2014-12-28 00:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls