r28071 - /trunk/dh-make-perl/lib/Debian/Dependencies.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Thu Dec 11 14:27:26 UTC 2008
Author: dmn
Date: Thu Dec 11 14:27:24 2008
New Revision: 28071
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28071
Log:
improve POD about new()
Modified:
trunk/dh-make-perl/lib/Debian/Dependencies.pm
Modified: trunk/dh-make-perl/lib/Debian/Dependencies.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Dependencies.pm?rev=28071&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Dependencies.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Dependencies.pm Thu Dec 11 14:27:24 2008
@@ -26,7 +26,7 @@
Objects of this class are blessed array references. You can safely treat them
as arrayrefs, as long as the elements you put in them are instances of the
-Debian::Dependency class.
+L<Debian::Dependency> class.
When used in string context, Debian::Dependencies converts itself into a
comma-delimitted list of dependencies, suitable for dependency fields of
@@ -38,8 +38,10 @@
=item new(dependency-string)
-Constructs a new Debian::Dependencies object. Accepts one scalar argument,
-which is parsed and turned into an arrayref of Debian::Dependency objects.
+Constructs a new L<Debian::Dependencies> object. Accepts one scalar argument,
+which is parsed and turned into an arrayref of L<Debian::Dependency> objects.
+Each dependency should be delimitted by a comma and optional space. The exact
+regular expression is C</\s*,\s*/>.
=cut
More information about the Pkg-perl-cvs-commits
mailing list