Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
User Journal

Journal pudge's Journal: Games-Baseball-Scorecard-0.03 Released 4

Games-Baseball-Scorecard-0.03 has been released. Download it from the CPAN or SF.net.

(Note: it may take time for the release to propagate to the various download mirrors.)
Changes:

0.03 Thu Oct 20 21:48:38 2005
    - Some syntax changes for play_ball
    - Add init() parsing/handling to play_ball (see example3.plx)
    - Put in some sanity-checking for outs, balls, strikes, and fouls
    - Make sure totals() can be called only once
    - Make sure that totals are properly tabulated even if a batter's
      totals cannot be printed
    - Allow pdfopen() to take a filename to open as an argument
    - Moved examples to examples/ directory, and added more

Posted using release by brian d foy.

This discussion was created by pudge (3605) for no Foes, but now has been archived. No new comments can be posted.

Games-Baseball-Scorecard-0.03 Released

Comments Filter:
  • I learned to keep score on paper when I was in Little League (late 1970s). I've since forgotten how because I never bothered to keep it up.
    • Yeah, I wrote all this Perl API to printing up nice-looking cards with the metapost API ... but I still prefer paper and pencil. But it is kinda fun to use the text-based stuff. The full method-based stuff gets pretty tedious.
      • I've since read through the perldoc for it.

        I presume that its primary use could be for making "neater" game score sheets. I doubt I could type fast enough (I was timed at 40 wpm 13 years ago; haven't been timed lately) to keep up with some games. Perhaps something like this could be a backend to a GUI front-end, so that those that wanted a Computer-Aided entry system could keep track of a game in good order.... Hmmm...
        • I doubt I could type fast enough

          No no, it is really simple. See this sheet [cpan.org], a scoring of Game 4 of the 2004 World Series. After getting the roster and lineup etc. all set up, you just do:

          inn T1
          ab
          p s b b
          hit 4 r
          ab
          5-3
          ab
          p b s b b
          bb
          ab
          p b b s s b
          F7

Somebody ought to cross ball point pens with coat hangers so that the pens will multiply instead of disappear.

Working...