diff options
author | Nicolas R <atoomic@cpan.org> | 2017-09-12 13:20:25 -0600 |
---|---|---|
committer | Todd Rinaldo <toddr@cpan.org> | 2017-11-11 01:07:18 -0600 |
commit | fd55ca4fb1e49bf9880aad1e3d9f27ace56ec139 (patch) | |
tree | ee4fe8e8ccd3cdef389b201a64b9863d2fcf3363 /ext/XS-Typemap | |
parent | cc01160e81924fc81416f1a69e0c7c52f7c1bcf7 (diff) | |
download | perl-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/XS-Typemap')
-rw-r--r-- | ext/XS-Typemap/Typemap.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/XS-Typemap/Typemap.pm b/ext/XS-Typemap/Typemap.pm index 7877b4a3ab..9871415319 100644 --- a/ext/XS-Typemap/Typemap.pm +++ b/ext/XS-Typemap/Typemap.pm @@ -34,11 +34,9 @@ to the test script. use parent qw/ Exporter /; require XSLoader; -use vars qw/ $VERSION @EXPORT /; +our $VERSION = '0.16'; -$VERSION = '0.15'; - -@EXPORT = (qw/ +our @EXPORT = (qw/ T_SV T_SVREF T_SVREF_REFCOUNT_FIXED |