Permalink
Browse files

prepared for dist 0.01

  • Loading branch information...
1 parent 49a32e6 commit 4e8bfc682e98b638c9429e67ace6047926dfff7a Jan Henning Thorsen committed May 17, 2009
Showing with 38 additions and 2 deletions.
  1. +3 −2 Changes
  2. +33 −0 README
  3. +2 −0 lib/Net/DHCPd.pm
View
@@ -1,5 +1,6 @@
Revision history for Net-DHCPd
-0.00 Tue May 6 00:10:00 CET 2007
- * fist commit
+0.01 Sun May 17 23:45:00 CET 2007
+ * parsing of config works
+ * generating config works
View
@@ -0,0 +1,33 @@
+NAME
+ Net::DHCPd - Interacts with ISC DHCPd
+
+SYNOPSIS
+ my $dhcpd = Net::DHCPd->new(
+ config_file => "path/to/config",
+ leases_file => "path/to/leases",
+ );
+
+ my $config = $dhcpd->config;
+
+ $config->parse;
+
+ for my $child ($config->children) {
+ # ...
+ }
+
+ See tests for more documentation.
+
+OBJECT ATTRIBUTES
+ config
+ Holds a DHCPd config object.
+
+ Default: Net::DHCPd::Config.
+
+ leases
+ Holds a DHCPd leases object.
+
+ Default: Net::DHCPd::Leases.
+
+AUTHOR
+ Jan Henning Thorsen
+
View
@@ -19,6 +19,8 @@ Net::DHCPd - Interacts with ISC DHCPd
# ...
}
+See tests for more documentation.
+
=cut
use Moose;

0 comments on commit 4e8bfc6

Please sign in to comment.