Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

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

NAME
WWW::CNic::Simple - a procedural interface to WWW::CNic SYNOPSIS
#!/usr/bin/perl use WWW::CNic::Simple; my @suffixes = suffixes(); my %results = check('test-domain', 'uk.com', 'uk.net'); print "test-domain.uk.com is registered. " if ($results{'uk.com'} == 1); my %whois = whois('test-domain.uk.com'); print "domain status: $whois{status} "; DESCRIPTION
This interface is intended for those who want a simplified view of the WWW::CNic library. It provides simple functions for querying the CentralNic system, making it ideal for one-liners and other tasks. Please note that it is not possible to make domain registrations or modifications using "WWW::CNic::Simple". FUNCTIONS
my @suffixes = suffixes(); This function returns an array containing the currently live CentralNic suffixes. my %result = check($domain, @suffixes); This function does an availability check on $domain against the suffixes contained in @suffixes. Note that if @suffixes is omitted the check will run against all CentralNic domains. The function returns a hash of the form: my %result = ( 'uk.com' => 1, 'uk.net' => 0, 'eu.com' => 0); where 1 indicates that the domain is already registered. my %whois = whois($domain); This function returns a hash containing whois data for the given $domain This hash is of the form: my %whois = { chandle => { postcode => 'SW6 4SN', country => 'UK', userid => 'C11480', fax => 'N/A', addr => "163 New King's Road, Fulham, London", name => 'Hostmaster', email => 'webservices@centralnic.com', phone => '020 7751 9000', company => 'CentralNic Ltd' }, expires => '1001458800', status => 'Live', thandle => # as chandle above bhandle => # as chandle above registrant => 'CentralNic Ltd', domain => 'toolkit-test.uk.com', created => '1001458800' }; 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 o WWW::CNic::Cookbook perl v5.12.3 2011-05-13 WWW::CNic::Simple(3pm)

Check Out this Related Man Page

WWW::Mechanize::FormFiller::Value::Default(3pm) 	User Contributed Perl Documentation	   WWW::Mechanize::FormFiller::Value::Default(3pm)

NAME
WWW::Mechanize::FormFiller::Value::Default - Fill a fixed value into an empty HTML form field SYNOPSIS
use WWW::Mechanize::FormFiller; use WWW::Mechanize::FormFiller::Value::Default; my $f = WWW::Mechanize::FormFiller->new(); # Create a default value for the HTML field "login" # This will put "Corion" into the login field unless # there already is some other text. my $login = WWW::Mechanize::FormFiller::Value::Default->new( login => "Corion" ); $f->add_value( login => $login ); # Alternatively take the following shorthand, which adds the # field to the list as well : # "If there is no password, put 'secret' there" my $password = $f->add_filler( password => Default => "secret" ); DESCRIPTION
This class provides a way to write a fixed value into a HTML field. new NAME, VALUE Creates a new value which will correspond to the HTML field "NAME". The "VALUE" is the value to be written into the HTML field. name [NEWNAME] Gets and sets the name of the HTML field this value corresponds to. value FIELD Returns the value to put into the HTML field. EXPORT None by default. COPYRIGHT AND LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Copyright (C) 2002,2003 Max Maischein AUTHOR
Max Maischein, <corion@cpan.org> Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome ! SEE ALSO
WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value, WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Random, WWW::Mechanize::FormFiller::Value::Interactive perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Default(3pm)
Man Page