File tree 10 files changed +14
-9
lines changed 10 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ use constant ERROR_58_HINTS => q{Non-subroutine %s hints for %s are not supporte
55
55
56
56
use constant MIN_IPC_SYS_SIMPLE_VER => 0.12;
57
57
58
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg::Version
58
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg::Version
59
59
60
60
our $Debug ||= 0;
61
61
@@ -170,6 +170,7 @@ my %TAGS = (
170
170
' :2.32' => [qw( :default) ],
171
171
' :2.33' => [qw( :default) ],
172
172
' :2.34' => [qw( :default) ],
173
+ ' :2.35' => [qw( :default) ],
173
174
);
174
175
175
176
@@ -1088,6 +1089,7 @@ sub _one_invocation {
1088
1089
my $code = qq[
1089
1090
no warnings qw(unopened uninitialized numeric);
1090
1091
no if \$\] >= 5.017011, warnings => "experimental::smartmatch";
1092
+ no if \$ warnings::Offsets{"deprecated::smartmatch"}, warnings => "deprecated";
1091
1093
1092
1094
if (wantarray) {
1093
1095
my \@ results = $call (@argv );
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ our $VERSION;
9
9
# ABSTRACT: Replace functions with ones that succeed or die with lexical scope
10
10
11
11
BEGIN {
12
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg::Version
12
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg::Version
13
13
}
14
14
15
15
use constant ERROR_WRONG_FATAL => q{
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use strict;
4
4
use warnings;
5
5
6
6
# ABSTRACT: Wrapper class for calling subs at end of scope
7
- our $VERSION = ' 2.34 ' ; # VERSION
7
+ our $VERSION = ' 2.35 ' ; # VERSION
8
8
9
9
# This code schedules the cleanup of subroutines at the end of
10
10
# scope. It's directly inspired by chocolateboy's excellent
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use warnings;
6
6
use autodie::Scope::Guard;
7
7
8
8
# ABSTRACT: Hook stack for managing scopes via %^H
9
- our $VERSION = ' 2.34 ' ; # VERSION
9
+ our $VERSION = ' 2.35 ' ; # VERSION
10
10
11
11
my $H_KEY_STEM = __PACKAGE__ . ' /guard' ;
12
12
my $COUNTER = 0;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ our @EXPORT_OK = qw(
14
14
on_end_of_compile_scope
15
15
) ;
16
16
17
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg:Version
17
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg:Version
18
18
19
19
# ABSTRACT: Internal Utility subroutines for autodie and Fatal
20
20
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use Carp qw(croak);
6
6
7
7
use Scalar::Util qw( blessed) ;
8
8
9
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg:Version
9
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg:Version
10
10
# ABSTRACT: Exceptions from autodying functions.
11
11
12
12
our $DEBUG = 0;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use warnings;
5
5
use parent ' autodie::exception' ;
6
6
use Carp qw( croak) ;
7
7
8
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg:Version
8
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg:Version
9
9
10
10
# ABSTRACT: Exceptions from autodying system().
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use warnings;
5
5
6
6
use constant PERL58 => ( $] < 5.009 );
7
7
8
- our $VERSION = ' 2.34 ' ; # VERSION: Generated by DZP::OurPkg:Version
8
+ our $VERSION = ' 2.35 ' ; # VERSION: Generated by DZP::OurPkg:Version
9
9
10
10
# ABSTRACT: Provide hints about user subroutines to autodie
11
11
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package autodie::skip;
2
2
use strict;
3
3
use warnings;
4
4
5
- our $VERSION = ' 2.34 ' ; # VERSION
5
+ our $VERSION = ' 2.35 ' ; # VERSION
6
6
7
7
# This package exists purely so people can inherit from it,
8
8
# which isn't at all how roles are supposed to work, but it's
Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ BEGIN { plan skip_all => "Perl 5.10 only tests" if $] < 5.010; }
8
8
# Basic tests should go in basic_exceptions.t
9
9
10
10
use 5.010;
11
+ use warnings ();
11
12
use constant NO_SUCH_FILE => ' this_file_had_better_not_exist_xyzzy' ;
12
13
no if $] >= 5.017011, warnings => " experimental::smartmatch" ;
14
+ no if exists $warnings::Offsets {" deprecated::smartmatch" },
15
+ warnings => " deprecated" ;
13
16
14
17
plan ' no_plan' ;
15
18
You can’t perform that action at this time.
0 commit comments