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:
Please also see the SUPPORT file in the distribution.
Patrick Mevzek, <email@example.com>
Copyright (c) 2005 Patrick Mevzek <firstname.lastname@example.org>. 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.