WWW::CNic::Response(3pm) User Contributed Perl Documentation WWW::CNic::Response(3pm)NAME
WWW::CNic::Response - base class for WWW::CNic response objects.
SYNOPSIS
use WWW::CNic;
my $query = WWW::CNic->new( OPTIONS );
my $response = $query->execute();
DESCRIPTION
This is the base class for all response objects returned by WWW::CNic. Each query type returns a different object, all of which inherit
their basic functionality from this module.
This module should never be accessed directly, only through its children.
METHODS
All the child classes of WWW::CNic::Response inherit the following methods:
$response->is_success();
This returns true if the transaction was completed successfully. If there was a server-side error due to invalid data or a system error, or
there was an HTTP error this method will return undef.
$response->is_error();
This is the converse of "is_success". It returns true if there was an error.
$response->error();
This returns the error message generated, if any. This can be either a server-side error message or an HTTP error.
$response->message();
This returns the message returned when the transaction was successful.
$response->keys();
This returns an array containing all the keys returned by the server.
$response->response($key);
This returns the value corresponding to $key as returned by the server. This may be a scalar, or a reference to an array or hash, depending
on the context.
$response->dump();
This prints a human-readable dump of the data stored in the object to "STDOUT". Mainly useful in debugging.
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
perl v5.12.3 2011-05-13 WWW::CNic::Response(3pm)
Check Out this Related 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)
I am trying to write a korn shell script which posts commands to a server and read the response back from the server.
Any idea how I can read the servers response?
I have tried doing the following:
(
LOGIN:xxxxx
command to server
read ANSWER
echo $ANSWER >file1... (4 Replies)
I was wondering if it was possible to take in a user's response in a perl program.
For example.
Ask user a yes or no question, and then depending on the response, print out a corresponding answer?
Thanks! (2 Replies)
dear firnd..
psl help me
i am trying to conenct from xbrowser to my aix server.
byt i am not getting any response from server....
pls help me to resolve this. (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)