| Net-Whois-ARIN documentation | view source | Contained in the Net-Whois-ARIN distribution. |
Net::Whois::ARIN::Organization - ARIN whois Organization record class
use Net::Whois::ARIN::Organization;
my $org = Net::Whois::ARIN::Organization->new(
OrgName => 'Electric Lightwave Inc',
OrgID => 'ELIX',
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",
$org->OrgName,
$org->City,
$org->StateProv;
The Net::Whois::ARIN::Organization module is simple class which is used to store the attributes of an Organization record in ARIN's Whois server. Each attribute of the Organization record has an accessor/mutator of the same name.
This method accepts a list of Net::Whois::ARIN::Contact and associates these objects with the Organization record. If no arguments are specified, the method returns a list of Net::Whois::ARIN::Contact objects.
print $o->dump;
These methods are the accessors/mutators for the fields found in the Whois record.
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.
| Net-Whois-ARIN documentation | view source | Contained in the Net-Whois-ARIN distribution. |