in reply to MX Record Lookups
This looks a bit ugly like you said and I would suggest using Net::Nslookup it will return exactly what you need with half of the code. I have just finished a project doing the same and this worked awsome.
Sunadmn
USE PERL
Sunadmn
USE PERL
In Section
Seekers of Perl Wisdom