Net::ISC::DHCPd::OMAPI::Lease - OMAPI lease class
This class does the roles Net::ISC::DHCPd::OMAPI::Actions and Net::ISC::DHCPd::Role::Lease. See also Net::ISC::DHCPd::OMAPI::Meta::Attribute.
use Net::ISC::DHCPd::OMAPI; $omapi = Net::ISC::DHCPd::OMAPI->new(...); $omapi->connect $lease = $omapi->new_object("lease", { $attr => $value }); $lease->$attr($value); # same as in constructor $lease->read; # retrieve server information $lease->write; # write to server
See Net::ISC::DHCPd.
To install Net::ISC::DHCPd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ISC::DHCPd
CPAN shell
perl -MCPAN -e shell install Net::ISC::DHCPd
For more information on module installation, please visit the detailed CPAN module installation guide.