NAME
Net::Whois::Object - Object encapsulating RPSL data returned by Whois queries
SYNOPSIS
use Net::Whois::RIPE;
use Net::Whois::Object;
my $whois = Net::Whois::RIPE->new( %options );
$iterator = $whois->query( 'AS30781' );
while (my $value = $iterator->value()) {
my @lines = split '\n', $value;
push @projects, Net::Whois::Object(@lines);
}
for my $object (@objects) {
# process the Net::Whois::Object::xxx objects...
}
...
SUBROUTINES/METHODS
new( @lines )
The constructor is a factory returning the appropriate Net/Whois/Object based on the first attribute of the block.
query_filter( $query_filter )
Accessor to the query_filter attribute used to query_filter out objects. Accepts an optional query_filter to be added to the query_filter array, always return the current query_filter array.
hidden_attributes( $attribute )
Accessor to the filtered_attributes attribute (attributes to be hidden) Accepts an optional attribute to be added to the filtered_attributes array, always return the current filtered_attributes array.
displayed_attributes( $attribute )
Accessor to the displayed_attributes attribute which should be displayed. Accepts an optional attribute to be added to the displayed_attributes array, always return the current displayed_attributes array.
AUTHOR
Arnaud "Arhuman" Assad, <arhuman at gmail.com>
ACKNOWLEDGEMENTS
Thanks to Jaguar Network for allowing me to work on this during some of my office hours.
Thanks to Luis Motta Campos for his trust when allowing me to publish this release.