Skip to content

Commit 05d7a77

Browse files
JRaspassoalders
authored andcommitted
Replace "use vars" with "our"
1 parent cf988f3 commit 05d7a77

File tree

6 files changed

+5
-11
lines changed

6 files changed

+5
-11
lines changed

META.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"Time::Local" : "0",
4444
"locale" : "0",
4545
"perl" : "5.008001",
46-
"strict" : "0",
47-
"vars" : "0"
46+
"strict" : "0"
4847
}
4948
},
5049
"test" : {

Makefile.PL

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ my %WriteMakefileArgs = (
2323
"HTTP::Request" => 0,
2424
"Time::Local" => 0,
2525
"locale" => 0,
26-
"strict" => 0,
27-
"vars" => 0
26+
"strict" => 0
2827
},
2928
"TEST_REQUIRES" => {
3029
"ExtUtils::MakeMaker" => 0,

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ requires "Time::Local" => "0";
66
requires "locale" => "0";
77
requires "perl" => "5.008001";
88
requires "strict" => "0";
9-
requires "vars" => "0";
109

1110
on 'test' => sub {
1211
requires "ExtUtils::MakeMaker" => "0";

lib/HTTP/Cookies.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use strict;
44
use HTTP::Date qw(str2time parse_date time2str);
55
use HTTP::Headers::Util qw(_split_header_words join_header_words);
66

7-
use vars qw($EPOCH_OFFSET);
7+
our $EPOCH_OFFSET;
88
our $VERSION = '6.05';
99

1010
# Legacy: because "use "HTTP::Cookies" used be the ONLY way

lib/HTTP/Cookies/Microsoft.pm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ package HTTP::Cookies::Microsoft;
22

33
use strict;
44

5-
use vars qw(@ISA);
6-
75
our $VERSION = '6.05';
86

97
require HTTP::Cookies;
10-
@ISA=qw(HTTP::Cookies);
8+
our @ISA=qw(HTTP::Cookies);
119

1210
sub load_cookies_from_file
1311
{

lib/HTTP/Cookies/Netscape.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package HTTP::Cookies::Netscape;
22

33
use strict;
4-
use vars qw(@ISA);
54

65
our $VERSION = '6.05';
76

87
require HTTP::Cookies;
9-
@ISA=qw(HTTP::Cookies);
8+
our @ISA=qw(HTTP::Cookies);
109

1110
sub load
1211
{

0 commit comments

Comments
 (0)