NAME

Net::Whois::ARIN::AS - ARIN whois AS record class

SYNOPSIS

use Net::Whois::ARIN::AS;

my $as = Net::Whois::ARIN::AS->new(
             OrgName    => 'Electric Lightwave Inc',
             OrgID      => 'ELIX',
             Address    => '4400 NE 77th Ave',
             City       => 'Vancouver',
             StateProv  => 'WA',
             PostalCode => '98662',
             Country    => 'US',
             RegDate    => '1995-07-25',
             Updated    => '2001-05-17',
             ASName     => 'ELIX',
             ASNumber   => '5650',
             ASHandle   => 'AS5650',
             Comment    => '',
         );

printf "%s has ASN %d\n", 
       $as->OrgName, 
       $as->ASNumber;    

DESCRIPTION

The Net::Whois::ARIN::AS module is simple class which is used to store the attributes of an AS record in ARIN's Whois server. Each attribute of the AS record has an accessor/mutator of the same name.

METHODS

new - create a Net::Whois::ARIN::AS object
contacts - get/set Net::Whois::ARIN::Contact

This method accepts a list of Net::Whois::ARIN::Contact and associates these objects with the AS record. If no arguments are specified, the method returns a list of Net::Whois::ARIN::Contact objects.

dump - return the current whois record
print $o->dump;

ATTRIBUTES

These methods are the accessors/mutators for the fields found in the Whois record.

OrgName - get/set the organization name
OrgID - get/set the organization id
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
ASNumber - get/set the AS number
ASName - get/set the AS name
ASHandle - get/set the AS handle
Comment - get/set the public comment

AUTHOR

Todd Caine <todd.caine at gmail.com>

COPYRIGHT AND LICENSE

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.