diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-02-04 21:43:34 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2011-02-04 21:43:34 +0000 |
commit | 75081bb379696d31812ce0b07eded90b8395586c (patch) | |
tree | baff696005414dcc176fade08573cb4ec3fbec8c /dist | |
parent | 07a63b998433c2d05ac3376f7c11dc1bd3e3f49c (diff) | |
download | perl-75081bb379696d31812ce0b07eded90b8395586c.tar.gz |
Clarify the return values of the first_release functions in Module::CoreList
Raised as CPAN RT #65461 by Tokuhiro Matsuno
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Module-CoreList/lib/Module/CoreList.pm | 6 |
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 ] )> |