sub parse_mail { my $mail = "@_"; open (MAIL,$mail) || die "Cannot open $mail, $!"; @mailf = ; chomp (@mailf); close (MAIL) || die "Cannot close $mail, $!"; return @mailf; } #### Where ever there is confusion to be had... I'll be there.