diff options
author | Neil Bowers <neil@bowers.com> | 2013-09-18 20:47:53 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2013-09-19 11:09:26 +0100 |
commit | 2a21e867481e24fe22bf17394ebbff6deaca96b5 (patch) | |
tree | ffd5214de919744ffa1967b0126e06b4b95714af /pod | |
parent | 57e3d68895dfb95cd9e26533078d5f3233400ae0 (diff) | |
download | perl-2a21e867481e24fe22bf17394ebbff6deaca96b5.tar.gz |
Added is_core(), which returns true if the module was/is in core
Default to checking against $^V, but you can optionally specify
the perl release, and can also optionally specify a minimum
version of the module.
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9cdf700483..217fa83e75 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -489,10 +489,15 @@ by using SSize_t instead of I32 for array indices. =item * -L<Module::CoreList> has been upgraded from version 2.97 to 2.98. +L<Module::CoreList> has been upgraded from version 2.97 to 2.99. The list of Perl versions covered has been updated. +A function C<is_core()> has been added, which returns true if the +specified module was bundled with Perl. Optionally you can specify +a minimum version of the module, and the specific version of Perl +you're interested in (defaults to C<$^V>, the running version of Perl). + =item * L<Module::Load::Conditional> has been upgraded from version 0.54 to 0.58. |