XML::SRS::Whois - Class representing an SRS Whois transaction
my $whois = XML::SRS::Whois->new( full => 1, source_ip => 192.168.1.1, domain => 'nzrs.net.nz', );
This class represents an SRS Whois request. The root XML element of this class is 'Whois'.
Each attribute of this class has an accessor/mutator of the same name as the attribute. Additionally, they can be passed as parameters to the constructor.
Optional boolean. Maps to FullResult XML attribute.
Optional string. Maps to SourceIP XML attribute.
Required string, containing a valid domain name to query on.
Construct a new XML::SRS::Request object. %params specifies the initial values of the attributes.
XML::SRS::Query
To install XML::SRS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::SRS
CPAN shell
perl -MCPAN -e shell install XML::SRS
For more information on module installation, please visit the detailed CPAN module installation guide.