Apply patch from Sprout to make vxs.inc better
authorJohn Peacock <jpeacock@cpan.org>
Sun, 29 Dec 2013 17:26:30 +0000 (12:26 -0500)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 4 Jan 2014 13:10:04 +0000 (05:10 -0800)
[Committer’s note: I already had the vxs.inc changes in my branch,
 so this patch only includes the version.pm changes.]

cpan/version/lib/version.pm

index e6620c2..b21f1bd 100644 (file)
@@ -4,13 +4,13 @@ package version;
 use 5.005_05;
 use strict;
 
-use vars qw(@ISA $VERSION $CLASS $STRICT $LAX *declare *qv);
+use vars qw(@ISA $VERSION $CLASS *declare *qv);
 
 $VERSION = 0.9905;
 $CLASS = 'version';
 
 # avoid using Exporter
-use version::regex;
+require version::regex;
 *version::is_lax = \&version::regex::is_lax;
 *version::is_strict = \&version::regex::is_strict;