Actually that's my fault for not describing the whole problem in my original post.

The original program takes data from web pages and parses the data to do a simluation on baseball players for a fantasy baseball league. My thought was, after looking at his pascal code and the hoops he had to jump through to do the parsing, that we could both combine the culling of the information and the process of the simulation in to one program.

My thought was that with the text parsing capabilities Perl has, it was hands down the obvious language choice for this exercise. Of course he went ahead and did his in pascal anyway as he doesn't as of yet know Perl, so I thought I would convert it ( and him ) and see how much easier I could do it and sharpen my chops in the process.

Some people fall from grace. I prefer a running start...


In reply to Re: Re: Converting pascal code to perl by Popcorn Dave
in thread Converting pascal code to perl by Popcorn Dave

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.