Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Net::DNS::Resolver doesn't return the desired domain name

by cavac (Parson)
on Jun 12, 2015 at 11:50 UTC ( [id://1130180]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Net::DNS::Resolver doesn't return the desired domain name
in thread Net::DNS::Resolver doesn't return the desired domain name

For thinks like these, often times a good debugger/IDE can save you hours of frustration without having to add print. (Personally i use Komodo IDE, but probably there are a few other out there that are also very good).

If you don't want to spend money or have some other reasons not to use an IDE, you can do
print 'Record is of class: ', ref($l_record), "\n";
which will result in
Record is of class: Net::DNS::RR::PTR

"For me, programming in Perl is like my cooking. The result may not always taste nice, but it's quick, painless and it get's food on the table."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1130180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-18 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found