Net::DRI::Data::RegistryObject - Additional API for Net::DRI operations
my $dri=Net::DRI->new(); my $nsg=$dri->remote_object('nsgroup'); $nsg->create(...); $nsg->update(...); $nsg->whatever(...); Also: my $nsg=$dri->remote_object('nsgroup','name');
For objects other than domains, hosts, or contacts, Net::DRI::Data::RegistryObject can be used to apply actions.
Net::DRI::remote_object is used to create a new Net::DRI::Data::RegistryObject with either only one parameter (the object type) or two parameters (the object type and the object name)
If the object name is not passed at creation it will need to be passed for all later actions as first parameter.
All calls are handled by an AUTOLOAD, except target() which is the same as in Net::DRI.
All calls need either two array references (protocol parameters and transport parameters) or a list (protocol parameters only).
For now, support questions should be sent to:
<netdri@dotandco.com>
Please also see the SUPPORT file in the distribution.
<http://www.dotandco.com/services/software/Net-DRI/>
Patrick Mevzek, <netdri@dotandco.com>
Copyright (c) 2005 Patrick Mevzek <netdri@dotandco.com>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.
To install Net::DRI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DRI
CPAN shell
perl -MCPAN -e shell install Net::DRI
For more information on module installation, please visit the detailed CPAN module installation guide.