#!/usr/bin/perl -w use strict; use lib './lib'; use Mail::Stats; use Getopt::Std qw(getopts); use Data::Dumper; my %cfg = ( s => 'a', ); getopts('has:m:', \%cfg); if($cfg{h}) { usage(); exit(1); } if(!Mail::Stats::newmail(\%cfg)) { usage(); exit(1); } sub usage { print STDERR <