Problems? Is your data what you think it is? | |
PerlMonks |
Re: Sendmail pairsby rob_au (Abbot) |
on Sep 15, 2002 at 00:24 UTC ( [id://197957]=note: print w/replies, xml ) | Need Help?? |
It may be worth having a look at the SyslogScan package on CPAN - This package can be used to parse sendmail logs and return a wealth of information on mail usage. For example, using this package, your code could be reduced to:
This package is also discussed in the sample chapter of the excellent resource "Perl for System Administration" which can be found here.
In Section
Code Catacombs
|
|