Net::Whois::ARIN::Customer - ARIN whois Customer record class
use Net::Whois::ARIN::Customer;
my $cust = Net::Whois::ARIN::Customer->new(
CustName => 'Electric Lightwave Inc',
Address => '4400 NE 77th Ave',
City => 'Vancouver',
StateProv => 'WA',
PostalCode => '98662',
Country => 'US',
Comment => '',
RegDate => '1995-07-25',
Updated => '2001-05-17',
);
printf "%s is located in %s, %s\n",
$cust->CustName,
$cust->City,
$cust->StateProv;
The Net::Whois::ARIN::Customer module is simple class which is used to store the
attributes of an Customer record in A RIN's Whois server. Each attribute of
the Customer record has an accessor/mutator of the same name.
- new - create a Net::Whois::ARIN::Customer object
- contacts - get/set Net::Whois::ARIN::Contact
- This method accepts a list of Net::Whois::ARIN::Contact and associates
these objects with the Organization record. If no argu ments are
specified, the method returns a list of Net::Whois::ARIN::Contact
objects.
- dump - return the current whois record
-
print $o->dump;
These methods are the accessors/mutators for the fields found in the Whois
record.
- CustName - get/set the customer name
- 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
- NetRange - get/set the network range
- CIDR - get/set the CIDR netblock
- NetName - get/set the network name
- NetHandle - get/set the network handle
- Parent - get/set the parent network handle
- NetType - get/set the network type
- 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.