Menu

#5 add a 'top ten' list

open
nobody
None
5
2005-03-11
2005-03-11
No

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.

Discussion

  • Michael Rice

    Michael Rice - 2005-03-11

    patch -p1 to apply to ./qmHandle - add top ten list

     
  • Tim Duncklee

    Tim Duncklee - 2005-11-28

    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)

     
  • Michael Rice

    Michael Rice - 2005-11-29

    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.

     

Log in to post a comment.