NAME Net::DHCP::Info - Fast dhcpd.leases and dhcpd.conf parser VERSION Version 0.1 SYNOPSIS use Net::DHCP::Info; my $conf = Net::DHCP::Info->new($path_to_dhcpd_conf); my $lease = Net::DHCP::Info->new($path_to_dhcpd_leases); while(my $net = $conf->fetch_subnet) { # .. do stuff with $net } while(my $lease = $lease->fetch_lease) { # .. do stuff with $lease } METHODS "new" Object constructor. Takes one argument; a filename to parse. This can be either a dhcpd.conf or dhcpd.leases file. "fetch_subnet" This method returns an object of "Net::DHCP::Info::Obj" "fetch_lease" This method returns an object of "Net::DHCP::Info::Obj" FUNCTIONS fixmac Takes a mac in various formats as an argument, and returns it as a 12 char string. AUTHOR Jan Henning Thorsen, "" BUGS Please report any bugs or feature requests to "bug-net-dhcp-info at rt.cpan.org", or through the web interface at . I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT You can find documentation for this module with the perldoc command. perldoc Net::DHCP::Info You can also look for information at: * AnnoCPAN: Annotated CPAN documentation * CPAN Ratings * RT: CPAN's request tracker * Search CPAN ACKNOWLEDGEMENTS COPYRIGHT & LICENSE Copyright 2007 Jan Henning Thorsen, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.