Update of /cvsroot/module-build/Module-Build/lib/Module/Build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4187/lib/Module/Build
Modified Files:
Authoring.pod
Log Message:
Add docs for some more methods
Index: Authoring.pod
===================================================================
RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Authoring.pod,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Authoring.pod 15 Oct 2005 17:44:06 -0000 1.14
+++ Authoring.pod 18 Oct 2005 23:13:42 -0000 1.15
@@ -755,6 +755,12 @@
the second argument is assigned to the args hash under the key passed as the
first argument.
+=item autosplit_file($from, $to)
+
+Invokes the C<AutoSplit> module on the C<$from> file, sending the
+output to the C<lib/auto> directory inside C<$to>. C<$to> is
+typically the C<blib/> directory.
+
=item base_dir()
Returns a string containing the root-level directory of this build,
@@ -827,6 +833,17 @@
need detailed information, or this method if you just need a yes/no
answer.
+=item compare_versions($v1, $op, $v2)
+
+Compares two module versions C<$v1> and C<$v2> using the operator
+C<$op>, which should be one of Perl's numeric operators like C<!=> or
+C<< >= >> or the like. We do at least a halfway-decent job of
+handling versions that aren't strictly numeric, like C<0.27_02>, but
+exotic stuff will likely cause problems.
+
+In the future, the guts of this method might be replaced with a call
+out to C<version.pm>.
+
=item config()
Returns a hash reference containing the C<Config.pm> hash, including
@@ -915,6 +932,12 @@
in L<Module::Build/"ACTIONS"> ) are contained in the
C<< $self->{args} >> hash reference.
+=item dist_dir()
+
+Returns the name of the directory that will be created during the
+C<dist> action. The name is derived from the C<dist_name> and
+C<dist_version> properties.
+
=item dist_name()
Returns the name of the current distribution, as passed to the
|