Net::Whois::ARIN::Contact - ARIN whois Contact record class
use Net::Whois::ARIN::Contact;
my $poc = Net::Whois::ARIN::Contact->new(
Name => 'Caine, Todd',
Handle => 'TCA53-ARIN',
Company => 'Electric Lightwave',
Address => '4400 NE 77th Ave',
City => 'Vancouver',
StateProv => 'WA',
PostalCode => '98662',
Country => 'US',
Comment => '',
RegDate => '1995-07-25',
Updated => '2001-05-17',
Phone => '503-555-1212',
Email => 'nobody@nobody.net',
);
printf "The ARIN contact handle for %s is %s.\n",
$poc->Name,
$poc->Handle;
The Net::Whois::ARIN::Contact module is simple class which is used to store the
attributes of a point-of-contact record in ARIN's Whois server. Each attribute
of the contact record has an accessor/mutator of the same name.
- new - create a Net::Whois::ARIN::Contact object
- dump - return the current whois record
-
print $o->dump;
These methods are the accessors/mutators for the fields found in the Whois
record.
- Type - get/set the contact type
- Name - get/set the contact name
- Handle - get/set the contact handle
- Company - get/set the company
- Address - get/set the address
- City - get/set the city
- StateProv - get/set the state or province
- PostalCode - get/set the postal code
- Country - get/set the country
- RegDate - get/set the registration date
- Updated - get/set the last updated date
- Phone - get/set the contact phone number
- Email - get/set the contact email address
- Comment - get/set the public comment
Todd Caine <todd.caine at gmail.com>
Copyright (c) 2004-2011 Todd Caine. All rights reserved. This program is free
software; you can redistribute it and/or modify it under the same terms as
Perl itself.