From: Rafael Garcia-Suarez Date: Tue, 1 Aug 2006 15:11:15 +0000 (+0000) Subject: Bump version of Module::CoreList X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=52f4a5896374b87dd4e09287c923bbb5ba9f9f37;p=p5sagit%2Fp5-mst-13.2.git Bump version of Module::CoreList p4raw-id: //depot/perl@28641 --- diff --git a/lib/Module/CoreList.pm b/lib/Module/CoreList.pm index c14a0de..d98e636 100644 --- a/lib/Module/CoreList.pm +++ b/lib/Module/CoreList.pm @@ -1,7 +1,7 @@ package Module::CoreList; use strict; use vars qw/$VERSION %released %patchlevel %version %families/; -$VERSION = '2.05'; +$VERSION = '2.06'; =head1 NAME @@ -16,9 +16,9 @@ Module::CoreList - what modules shipped with versions of perl print Module::CoreList->first_release('File::Spec'); # prints 5.00503 print Module::CoreList->first_release('File::Spec', 0.82); # prints 5.006001 - print join ', ', Module::CoreList->find_modules(qr/Data/); + print join ', ', Module::CoreList->find_modules(qr/Data/); # prints 'Data::Dumper' - print join ', ', Module::CoreList->find_modules(qr/test::h.*::.*s/i, 5.008008); + print join ', ', Module::CoreList->find_modules(qr/test::h.*::.*s/i, 5.008008); # prints 'Test::Harness::Assert, Test::Harness::Straps' print join ", ", @{ $Module::CoreList::families{5.005} }; @@ -105,7 +105,7 @@ sub first_release { } sub find_modules { - my $discard = shift; + my $discard = shift; my $regex = shift; my @perls = @_; @perls = keys %version unless @perls;