Skip to content

Commit 1f12f60

Browse files
authored
Merge pull request #19 from toddr/vars
Use our not vars
2 parents 826f19a + b2f6072 commit 1f12f60

6 files changed

Lines changed: 3 additions & 10 deletions

File tree

META.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"XSLoader" : "0",
6767
"perl" : "5.008",
6868
"strict" : "0",
69-
"vars" : "0"
7069
}
7170
},
7271
"test" : {
@@ -85,7 +84,6 @@
8584
"URI" : "0",
8685
"perl" : "5.008",
8786
"strict" : "0",
88-
"vars" : "0"
8987
}
9088
}
9189
},

Makefile.PL

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ my %WriteMakefileArgs = (
2626
"URI::URL" => 0,
2727
"XSLoader" => 0,
2828
"strict" => 0,
29-
"vars" => 0
3029
},
3130
"TEST_REQUIRES" => {
3231
"Config" => 0,
@@ -39,7 +38,6 @@ my %WriteMakefileArgs = (
3938
"Test::More" => 0,
4039
"URI" => 0,
4140
"strict" => 0,
42-
"vars" => 0
4341
},
4442
"VERSION" => "3.76",
4543
"test" => {
@@ -70,7 +68,6 @@ my %FallbackPrereqs = (
7068
"URI::URL" => 0,
7169
"XSLoader" => 0,
7270
"strict" => 0,
73-
"vars" => 0
7471
);
7572

7673
unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {

cpanfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
on 'runtime' => sub {
22
requires 'strict';
3-
requires 'vars';
43
requires 'Carp';
54
requires 'Exporter';
65
requires 'HTML::Tagset';
@@ -17,7 +16,6 @@ on 'configure' => sub {
1716

1817
on 'test' => sub {
1918
requires 'strict';
20-
requires 'vars';
2119
requires 'Config';
2220
requires 'FileHandle';
2321
requires 'File::Spec';

lib/HTML/Entities.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ modify it under the same terms as Perl itself.
137137

138138
use strict;
139139
our $VERSION = '3.76';
140-
use vars qw(%entity2char %char2entity);
140+
our (%entity2char, %char2entity);
141141

142142
require 5.004;
143143
require Exporter;

lib/HTML/HeadParser.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ our @ISA = qw(HTML::Parser);
8989
use HTML::Entities ();
9090

9191
use strict;
92-
use vars qw($DEBUG);
92+
our $DEBUG;
9393
#$DEBUG = 1;
9494
our $VERSION = '3.76';
9595

lib/HTML/LinkExtor.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use strict;
3131
use HTML::Tagset ();
3232

3333
# legacy (some applications grabs this hash directly)
34-
use vars qw(%LINK_ELEMENT);
34+
our %LINK_ELEMENT;
3535
*LINK_ELEMENT = \%HTML::Tagset::linkElements;
3636

3737
=over 4

0 commit comments

Comments
 (0)