summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2011-02-04 21:43:34 +0000
committerLeon Brocard <acme@astray.com>2011-06-08 09:09:25 +0100
commitb3cb9515f36bfa65358231b38dc4c6b0b55e1b58 (patch)
tree2021a8bef8a7eb1f6a6d6521862b453117076165
parent415b79aa094cd3972d0009705c16dcaed520f728 (diff)
downloadperl-b3cb9515f36bfa65358231b38dc4c6b0b55e1b58.tar.gz
Clarify the return values of the first_release functions in Module::CoreList
Raised as CPAN RT #65461 by Tokuhiro Matsuno (cherry picked from commit 75081bb379696d31812ce0b07eded90b8395586c)
-rw-r--r--dist/Module-CoreList/lib/Module/CoreList.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/Module-CoreList/lib/Module/CoreList.pm b/dist/Module-CoreList/lib/Module/CoreList.pm
index 1363f9ad18..82230583e7 100644
--- a/dist/Module-CoreList/lib/Module/CoreList.pm
+++ b/dist/Module-CoreList/lib/Module/CoreList.pm
@@ -57,12 +57,14 @@ These are the functions that are available, they may either be called as functio
Behaviour since version 2.11
Requires a MODULE name as an argument, returns the perl version when that module first
-appeared in core as ordered by perl version number or undef if that module is not in core.
+appeared in core as ordered by perl version number or undef ( in scalar context )
+or an empty list ( in list context ) if that module is not in core.
=item C<first_release_by_date( MODULE )>
Requires a MODULE name as an argument, returns the perl version when that module first
-appeared in core as ordered by release date or undef if that module is not in core.
+appeared in core as ordered by release date or undef ( in scalar context )
+or an empty list ( in list context ) if that module is not in core.
=item C<find_modules( REGEX, [ LIST OF PERLS ] )>