XP is just a number | |
PerlMonks |
Re: Stuck with hwby blaze (Friar) |
on Apr 03, 2003 at 01:38 UTC ( [id://247648]=note: print w/replies, xml ) | Need Help?? |
hmm..well i cant say you're really clear on what exactly you need, but since you did put some code that shows some kind of effort, ill tell you what i make of your question...even though its homework :) From what i can tell you have a flat file in the format of "player_one player_two player_one_score-player_two_score", and you just need to get all the players stats, how many they've won, lost and how many draws...i'd try something like this:: This is very untested, so you might have to modify it a bit, if im misunderstanding what you need let me know -Robert Update: gave script ability to print a zero
In Section
Seekers of Perl Wisdom
|
|