Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

www::cnic::ng(3pm) [debian man page]

WWW::CNic::NG(3pm)					User Contributed Perl Documentation					WWW::CNic::NG(3pm)

NAME
WWW::CNic::NG - a next generation interface to "WWW:CNic". USAGE
#!/usr/bin/perl use WWW::CNic::NG; use strict; my $cnic = WWW::CNic::NG->new( 'username' => 'H12345', 'password' => 'password', 'test' => 1, # run against the test database ); # $response is a WWW::CNic::Response submodule: my $response = $cnic->whois('domain' => 'example.uk.com'); SYNOPSIS
"WWW::CNIC::NG" provides a simpler and more consistent interface to the "WWW::CNIC" module. It allows you to reuse the same object for multiple API calls, and provides Toolkit commands as methods of the object. Executing Toolkit Commands If you have used "WWW:CNic" you will be familiar with using it like so: my $query = WWW::CNic->new( 'command' => 'whois', 'username' => 'H12345', 'password' => 'password', 'domain' => 'example.uk.com', ); $query->set(%more_params); # $response is a WWW::CNic::Response submodule: my $response = $query->execute; This is somewhat cumbersome compared to the earlier example. "WWW::CNIC::NG" serves to tidy up some of this mess. Instead of specifying the desired command as a parameter supplied to the constructor, you simply call the method you want to use on the "WWW::CNIC::NG" object. The method's parameters are then used to prepare a query, and the response from the server is returned from the method. COPYRIGHT
This module is (c) 2011 CentralNic Ltd. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
o http://toolkit.centralnic.com/ o WWW::CNic::Cookbook o WWW::CNic::Simple perl v5.12.3 2011-05-13 WWW::CNic::NG(3pm)

Check Out this Related Man Page

WWW::CNic::Response::ListOutstandingDomains(3pm)	User Contributed Perl Documentation	  WWW::CNic::Response::ListOutstandingDomains(3pm)

NAME
WWW::CNic::Response::ListOutstandingDomains - a WWW::CNic response object for listing outstanding domains. SYNOPSIS
use WWW::CNic; my $query = WWW::CNic->new( OPTIONS ); $query->set( PARAMETERS ); my $response = $query->execute(); DESCRIPTION
Response module for listing all outstanding domains via the CentralNic Toolkit (http://toolkit.centralnic.com/). This module inherits all its methods from the base class, WWW::CNic::Response. METHODS
my @domains = $response->domains; This method returns an array of hashrefs detailing currently outstanding domains. The keys of the hashref are: domain expiry type years proforma or invoice date currency amount batch COPYRIGHT
This module is (c) 2011 CentralNic Ltd. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
o http://toolkit.centralnic.com/ o WWW::CNic::Response o WWW::CNic perl v5.12.3 2011-05-13 WWW::CNic::Response::ListOutstandingDomains(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

'less' command response is garbled

Helo , I m using RHEL 4. If I run 'ls -laF | more', response is properly display. but when I run If I run 'ls -laF | less', the response is garbled what to do to remove this? Regards, Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies

2. Shell Programming and Scripting

Checking response of the web page?

Hi, I need to check the response of the web page without downloading any content. I used the below command. _website=http://xxx.xxx.com wget --spider --user=username --password=password $_website > /home/username/temp.txt 2>&1; I getting the below error. The web page require... (3 Replies)
Discussion started by: ahamed
3 Replies