I am writing a small script to perfrom a 'whois' on number of domains. i however have a slight query.
When i run 'use Net::ParseWhois;'on a particular domain I get the following
Registrar: NETWORK SOLUTIONS, INC.
Domain: xxx
Name: xxx
Tag: xxx
Address: xxx
Country: xx
Name Servers: xx
Contacts:
ADMINISTRATIVE:
Cable and Wireless PLC UK Hostmaster (IH22-ORG) hostmaster@UK.CW.NET
Cable and Wireless PLC
76 Hammersmith Road
Hammersmith, London W14 8UD
UK
+44 (0) 20 7825 6000
Fax- +44 (0) 20 8243 1981
TECHNICAL:
Cable and Wireless PLC UK Hostmaster (IH22-ORG) hostmaster@UK.CW.NET
Cable and Wireless PLC
76 Hammersmith Road
Hammersmith, London W14 8UD
UK
+44 (0) 20 7825 6000
Fax- +44 (0) 20 8243 1981
Record created:n/a Record updated:n/a
Note that the final line in this code puts record created and updated as 'n/a' and there is no expiry date!!!
When i run use 'Net::Whois::Raw;' with the same domain i get all information above plus an expiry/created/ and updated date (as shown below).
...Record expires on 25-Oct-2002. Record created on 24-Oct-1995. Datab
+ase last updated on 1-May-2002 04:51:03 EDT...
Can anybody tell me how to get the date information using the use Net::ParseWhois; module since it fetches me the results in a more managable form. Or are there any other suggestions?
thankyou
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.