add a 'top ten' list
Brought to you by:
cchan-freetown
Here's a patch against 1.2.0 for a feature I added to
display the top ten senders and recipients. Under each
of these I print the top three "other end" of that
exchange. This helps identify where there may be a
problem much faster than trying to grep through the
list output.
requires an external module: Text::ParseWords
Enjoy.
patch -p1 to apply to ./qmHandle - add top ten list
Logged In: YES
user_id=218815
when running I get:
Use of uninitialized value at ./qmHandle line 434 (#1)
(W) An undefined value was used as if it were already defined. It was
interpreted as a "" or a 0, but maybe it was a mistake. To suppress this
warning assign an initial value to your variables.
Use of uninitialized value at ./qmHandle line 436 (#1)
Use of uninitialized value at ./qmHandle line 440 (#1)
Logged In: YES
user_id=1225934
tduncklee --
did the patch apply cleanly?
I just downloaded 1.2.0 and the patch as I posted it here,
the line in question (434) is "last if $count > $top;"
which has no errors. But, you also have errors on 436 and
440 -- which in the patched 1.2.0 do not have statements nor
variables.
Try the patch on pristine 1.2.0 qmHandle and see if that
fixed it.