www::cnic::response::renewals(3pm) [debian man page]
WWW::CNic::Response::Renewals(3pm) User Contributed Perl Documentation WWW::CNic::Response::Renewals(3pm)NAME
WWW::CNic::Response::Renewals - a WWW::CNic response object for renewal lists.
SYNOPSIS
use WWW::CNic;
my $query = WWW::CNic->new( OPTIONS );
$query->set( PARAMETERS );
my $response = $query->execute();
DESCRIPTION
Response module for retrieving upcoming renewal lists via the CentralNic Toolkit (http://toolkit.centralnic.com/). This module inherits
most of its methods from the base class, WWW::CNic::Response.
METHODS
Check WWW::CNic::Response for information about methods available from the base class.
$response->domains();
This returns an array of domain names that are due for renewal in the given period.
$response->amount($domain);
This returns the price of the domain renewal (in Sterling) of the $domain.
$response->expiry($domain);
This returns a UNIX timestamp of the expiry date for $domain.
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::Renewals(3pm)
Check Out this Related 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)
Man Page
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Just a suggestion, but it might help to pare down the number of threads that have little "added value" if the Moderators were to delete these posts rather than simply "close" them. Case in point, this thread was started by someone who asked for a homework solution. The poster received a reply... (2 Replies)
Hi,
Under my parent diectory I have directory named "Response" in many of its subfolders. I am interested to see all files with extention .pro in Response Directory. I am giving following command -
find . -name "Response" -type d | xargs -i ls -lrt {}/*.pro
but it is not giving result.
... (3 Replies)
Hi guys,
I will need some help with a to automate a challenge/response sequence when I try to SCP files from a server to another.
The scenario is like this :
After selecting in a script the option to send files via scp (case switch):
I get this output from linux term:
The... (4 Replies)
i have data in 3 columns in the format below
2011-11-01-0936,2115,978
2011-11-01-0937,2242,1046
2011-11-01-0938,2538,1186
2011-11-01-0939,2295,1074
2011-11-01-0940,2454,1142
2011-11-01-0941,2545,1184
2011-11-01-0942,2491,1153
I however want to either remove the date on the timestamp and... (2 Replies)
Hi,
I will execute a query in sqlplus and redirect to a file.
The file will contains the date value such as 2011-04-12 02:00:00.
i want to make the content of the file such as,
select * from table where col1>to_date('2011-04-12 02:00:00','yyyy-mm-dd HH24:MI:SS').
Apar from the bold... (1 Reply)
Hi All,
I have a requirement to read response file which looks like below
Ex:
NAME=SAM
DOB=01/01/1980
ADDRESS=
7658 James Street
NewYork
0000
Now, I need to take NAME, DOB, ADDRESS into variables
I am fine taking NAME and DOB
I need help on how can I... (6 Replies)
Hi,
I have a requirement to check the expiry date of Java software installed in linux servers.
We are using the below Java
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
I am not sure... (3 Replies)