Skip to content

Commit b805d32

Browse files
authored
Merge pull request #34 from JRaspass/master
Replace "use vars" with "our"
2 parents 867bde2 + 39e3267 commit b805d32

6 files changed

Lines changed: 4 additions & 8 deletions

File tree

Changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ Change history for HTML-Form
22

33
{{$NEXT}}
44

5+
- Replace "use vars" with "our" (GH#34) (James Raspass)
6+
57
6.08 2022-08-14 09:26:10Z
68
- Remove Authority section from dist.ini (GH#27) (Olaf Alders)
79
- Allow buttons to not have a value (GH#8) (Felix Ostmann and Julien Fiegehenn)

META.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
"Test::More" : "0.96",
6262
"URI" : "1.10",
6363
"perl" : "5.008001",
64-
"strict" : "0",
65-
"vars" : "0"
64+
"strict" : "0"
6665
}
6766
},
6867
"test" : {

Makefile.PL

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ my %WriteMakefileArgs = (
2525
"Test::More" => "0.96",
2626
"URI" => "1.10",
2727
"strict" => 0,
28-
"vars" => 0
2928
},
3029
"TEST_REQUIRES" => {
3130
"ExtUtils::MakeMaker" => 0,
@@ -57,7 +56,6 @@ my %FallbackPrereqs = (
5756
"URI" => "1.10",
5857
"lib" => 0,
5958
"strict" => 0,
60-
"vars" => 0,
6159
"warnings" => 0
6260
);
6361

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ requires "Test::More" => "0.96";
1010
requires "URI" => "1.10";
1111
requires "perl" => "5.008001";
1212
requires "strict" => "0";
13-
requires "vars" => "0";
1413

1514
on 'test' => sub {
1615
requires "ExtUtils::MakeMaker" => "0";

lib/HTML/Form.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use URI;
55
use Carp ();
66
use Encode ();
77

8-
use vars qw($VERSION);
98
our $VERSION = '6.09';
109

1110
my %form_tags = map {$_ => 1} qw(input textarea button select option);

t/form.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,8 @@ ok(@warn, 0);
158158
# Try to parse form HTTP::Response directly
159159
{
160160
package MyResponse;
161-
use vars qw(@ISA);
162161
require HTTP::Response;
163-
@ISA = ('HTTP::Response');
162+
our @ISA = ('HTTP::Response');
164163

165164
sub base { "http://www.example.com" }
166165
}

0 commit comments

Comments
 (0)