ossp-pkg/cfg/perl/cfg.pod 1.2 -> 1.3
--- cfg.pod 2004/11/17 13:15:35 1.2
+++ cfg.pod 2004/11/20 17:09:35 1.3
@@ -40,18 +40,41 @@
B<OSSP cfg> is ...
-B<OSSP::cfg> provides two Perl APIs:
+B<OSSP::cfg> provides three Perl APIs:
+
+=head2 SIMPLE API
+
+The simple API is a wrapper around the OO-style API and intended
+for working with configurations the really simple but less flexible way:
+
+=over 4
+
+=item C<use OSSP::cfg;>
+
+=item C<$cfg = >B<new>C< OSSP::cfg::simple;>
+
+=item C<$cfg-E<gt>>B<parse>C<($txt);>
+
+=item C<$cfg-E<gt>>B<pack>C<($tree);>
+
+=item C<$txt = $cfg-E<gt>>B<format>C<();>
+
+=item C<$tree = $cfg-E<gt>>B<unpack>C<();>
+
+=item C<undef $cfg;>
+
+=back
=head2 OO-STYLE API
The OO-style API is a wrapper around the C-style API and intended for
-high-level and regular programming.
+high-level and flexible programming.
=over 4
=item C<use OSSP::cfg;>
-=item C<my $cfg = >B<new>C< OSSP::cfg;>
+=item C<$cfg = >B<new>C< OSSP::cfg;>
=item C<undef $cfg;>
|
|