Skip to content

Commit 6e1f465

Browse files
JRaspassoalders
authored andcommitted
Bump minimum Perl to 5.8
Fixes #351
1 parent d8ffd8d commit 6e1f465

23 files changed

+11
-28
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
Revision history for WWW::Mechanize
22

33
{{$NEXT}}
4+
[FIXED]
5+
- Raise minimum Perl to 5.8 to match what we test, what dependencies
6+
depend on, etc. (GH#352) (James Raspass)
47

58
2.15 2022-08-21 07:47:35Z
69
[FIXED]
710
- There was a test suite failure on some Windows machines introduced in
811
2.14 that is now fixed. (GH#350) (Julien Fiegehenn)
12+
913
[ENHANCEMENTS]
1014
- form_with and all_forms_with() now support the "action" attribute to find
1115
forms (GH#349) (Julien Fiegehenn)

META.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"URI::URL" : "0",
8181
"URI::file" : "0",
8282
"base" : "0",
83-
"perl" : "5.006",
83+
"perl" : "5.008",
8484
"strict" : "0",
8585
"warnings" : "0"
8686
}
@@ -962,4 +962,3 @@
962962
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
963963
"x_static_install" : 1
964964
}
965-

Makefile.PL

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use strict;
33
use warnings;
44

5-
use 5.006;
5+
use 5.008;
66

77
use ExtUtils::MakeMaker;
88

@@ -17,7 +17,7 @@ my %WriteMakefileArgs = (
1717
"script/mech-dump"
1818
],
1919
"LICENSE" => "perl",
20-
"MIN_PERL_VERSION" => "5.006",
20+
"MIN_PERL_VERSION" => "5.008",
2121
"NAME" => "WWW::Mechanize",
2222
"PREREQ_PM" => {
2323
"Carp" => 0,

cpanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requires "Tie::RefHash" => "0";
1717
requires "URI::URL" => "0";
1818
requires "URI::file" => "0";
1919
requires "base" => "0";
20-
requires "perl" => "5.006";
20+
requires "perl" => "5.008";
2121
requires "strict" => "0";
2222
requires "warnings" => "0";
2323
recommends "Compress::Zlib" => "0";

dist.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dir = script
2323
[Test::Pod::LinkCheck]
2424

2525
[Prereqs / RuntimeRequires]
26-
perl = 5.006
26+
perl = 5.008
2727
HTML::Form = 6.08
2828
Scalar::Util = 1.14
2929

t/add_header.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use Test::More tests => 4;
66
use HTTP::Request::Common qw( GET );
77

88
BEGIN {
9-
delete @ENV{qw( PATH IFS CDPATH ENV BASH_ENV )}; # Placates taint-unsafe Cwd.pm in 5.6.1
109
use_ok( 'WWW::Mechanize' );
1110
}
1211

t/field.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use Test::More;
77
use URI::file ();
88

99
BEGIN {
10-
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
1110
use_ok( 'WWW::Mechanize' );
1211
}
1312

t/find_frame.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use Test::More tests => 5;
66
use URI::file ();
77

88
BEGIN {
9-
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
109
use_ok( 'WWW::Mechanize' );
1110
}
1211

t/find_image.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use Test::Deep qw( all cmp_deeply isa methods re superhashof );
1010
use URI::file ();
1111

1212
BEGIN {
13-
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
1413
use_ok( 'WWW::Mechanize' );
1514
}
1615

t/find_inputs.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use Test::More tests => 11;
77
use URI::file ();
88

99
BEGIN {
10-
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
1110
use_ok( 'WWW::Mechanize' );
1211
}
1312

0 commit comments

Comments
 (0)