summaryrefslogtreecommitdiff
path: root/ext/ExtUtils-Miniperl
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2017-09-12 13:20:25 -0600
committerTodd Rinaldo <toddr@cpan.org>2017-11-11 01:07:18 -0600
commitfd55ca4fb1e49bf9880aad1e3d9f27ace56ec139 (patch)
treeee4fe8e8ccd3cdef389b201a64b9863d2fcf3363 /ext/ExtUtils-Miniperl
parentcc01160e81924fc81416f1a69e0c7c52f7c1bcf7 (diff)
downloadperl-fd55ca4fb1e49bf9880aad1e3d9f27ace56ec139.tar.gz
Replace multiple 'use vars' by 'our' in ext
Using vars pragma is discouraged and has been superseded by 'our' declarations available in Perl v5.6.0 or later. This commit is about replacing the usage of 'vars' pragma by 'our' in 'ext' directory.
Diffstat (limited to 'ext/ExtUtils-Miniperl')
-rw-r--r--ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm b/ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
index 5d397b1bde..fec33a42c6 100644
--- a/ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
+++ b/ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
@@ -4,11 +4,9 @@ use strict;
require Exporter;
use ExtUtils::Embed 1.31, qw(xsi_header xsi_protos xsi_body);
-use vars qw($VERSION @ISA @EXPORT);
-
-@ISA = qw(Exporter);
-@EXPORT = qw(writemain);
-$VERSION = '1.06';
+our @ISA = qw(Exporter);
+our @EXPORT = qw(writemain);
+our $VERSION = '1.07';
# blead will run this with miniperl, hence we can't use autodie or File::Temp
my $temp;