I have a question about the Perl documentation I find on the web that
explains the usage of Perl modules. I come across this situation somewhat
frequently where I need to do something, find a module that can do it, but
just can't figure out from the basic info how to use it. 

For instance, I'm interested in being able to do MX lookups via Perl so I
found Net::DNS::RR::MX which appears to be what I'm looking for...

METHODS 
preference 
    print "preference = ", $rr->preference, "\n";
Returns the preference for this mail exchange. 
exchange 
    print "exchange = ", $rr->exchange, "\n";
Returns name of this mail exchange. 

So lets say I want to do an MX lookup for the domain "perl.org". Which parts
of this thing do I change to include my specific info? Can you give me a few
words to serve as a guide for making code like this usable to me? 

Thanks for creating this list. I use Perl a bit to automate a few things and
I absolutely love it but I get frustrated a lot because I can't figure out
simple things and get stuck. I appreciate the time you guys are devoting to
helping us.

Matt Goodell


**********************************************************************

Mi8 Powered Applications - Brains for Business

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been
scanned for the presence of computer viruses.

**********************************************************************

Reply via email to