in reply to IRC Stats
Have you checked that the directories cited in $datapath and $pidfile actually exist, and that you have write permission in those directories?
Is there anything else you could tell us about its expected and/or actual behavior? ("it doesn't take the stats" seems kind of vague) -- e.g. are there any error messages or other outputs?
Have you tried stepping through it with the perl debugger, to see how the control flow is going and what sorts of values are being assigned to variables?
Sorry, but that's about as much help as I can give, based on what you've posted.
update: Well, I could offer one more tip, but it involves modifying code below the line that says DO NOT MODIFY ANYTHING BELOW THIS LINE -- in the "saveinfo" sub, none of those "open(OUTPUT...)" lines have error checking, so if the open fails, you won't hear about it, and nothing gets saved. If you change those to:
(where "name_expression" is just a placeholder for whatever string is being used as the file name to be opened), you might get more information about what's going wrong. But maybe not -- hard to say.open(OUTPUT, ">name_expression") or die "name_expression: $!";
(P.S. Welcome to the Monastery!)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IRC Stats
by fx- (Initiate) on Apr 05, 2005 at 05:22 UTC | |
by graff (Chancellor) on Apr 05, 2005 at 07:03 UTC |