Next | Making Programs Faster | 44 |
Mail::Header is loaded by Mail::Internet
Let's see where Mail::Internet is used:
sub handle_message { my $message = $_[0]; my $mi = Mail::Internet->new($message);
$count++; $total_size += length $mi->as_string; letter_histogram( $mi->as_string ); from_histogram( $mi->head->get("From:") ); }
It would appear that it is being used to:
Convert the message to an object and then back to a string, and
to extract the From header
Next | Copyright © 2003 M. J. Dominus |