summaryrefslogtreecommitdiff
path: root/cpan/Module-Metadata
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-08-22 08:38:20 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2013-08-22 09:37:19 +0100
commit68cdd4b5a461cacf43edfbc09b5490356b4a0fd0 (patch)
tree810392615d03a9f6fb4397ad80e8bba4b3de5cc4 /cpan/Module-Metadata
parent6200d5a0e94983d5c6b3b021ff138daae149856b (diff)
downloadperl-68cdd4b5a461cacf43edfbc09b5490356b4a0fd0.tar.gz
Upgrade Module-Metadata from 1.000014 to 1.000016
Diffstat (limited to 'cpan/Module-Metadata')
-rw-r--r--cpan/Module-Metadata/lib/Module/Metadata.pm10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpan/Module-Metadata/lib/Module/Metadata.pm b/cpan/Module-Metadata/lib/Module/Metadata.pm
index 2f5cb7ef77..a9a81ef641 100644
--- a/cpan/Module-Metadata/lib/Module/Metadata.pm
+++ b/cpan/Module-Metadata/lib/Module/Metadata.pm
@@ -11,7 +11,7 @@ package Module::Metadata;
use strict;
use vars qw($VERSION);
-$VERSION = '1.000014';
+$VERSION = '1.000016';
$VERSION = eval $VERSION;
use Carp qw/croak/;
@@ -345,7 +345,7 @@ sub new_from_module {
}
# Normalize versions. Can't use exists() here because of bug in YAML::Node.
- # XXX "bug in YAML::Node" comment seems irrelvant -- dagolden, 2009-05-18
+ # XXX "bug in YAML::Node" comment seems irrelevant -- dagolden, 2009-05-18
for (grep defined $_->{version}, values %prime) {
$_->{version} = $normalize_version->( $_->{version} );
}
@@ -800,8 +800,10 @@ Module::Metadata - Gather package and POD information from perl module files
=head1 DESCRIPTION
-This module provides a standard way to gather metadata about a .pm file
-without executing unsafe code.
+This module provides a standard way to gather metadata about a .pm file through
+(mostly) static analysis and (some) code execution. When determining the
+version of a module, the C<$VERSION> assignment is C<eval>ed, as is traditional
+in the CPAN toolchain.
=head1 USAGE