Thanks for the input, guys. It's actually not homework, I'll explain further. And in fact, I may be way out of my league here in trying to do this.

I run a fantasy-wrestling website, of about 400-500 wrestlers, and until now I've been ranking them in an excel file, then manually grabbing the top 20 ranked wrestlers and placing them in a text file, to include on the front page. You can see it at http://www.ewexperts.com on the right side.

The great idea I had was to implement a script-based system, where my staff members can monitor matches and then submit updated stats, for me to review and either confirm or reject (to prevent cheating).

From this script, I would like the wrestler ranked (not by file-size as I think some people interpreted) but by largest-to-smallest based on the number that exists in each .total file.

I have the first script created already (the one where the stats are submitted into different files, example: (Jason Blade.wins, Jason Blade.losses, Jason Blade.total)

But, I think I might be out of my realm of capability on this one, because nothing I try seems to be working and so I'll probably look to hiring out for this one.

-Jesse
ewexperts@tmo.blackberry.net

In reply to Re^2: Ranking files, largest to smallest by ewexperts
in thread Ranking files, largest to smallest by ewexperts

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.