summaryrefslogtreecommitdiff
path: root/t/style/module-version.t
diff options
context:
space:
mode:
Diffstat (limited to 't/style/module-version.t')
-rwxr-xr-xt/style/module-version.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/style/module-version.t b/t/style/module-version.t
index 0d78c3d..2601f81 100755
--- a/t/style/module-version.t
+++ b/t/style/module-version.t
@@ -11,7 +11,7 @@
#
# SPDX-License-Identifier: MIT
-use 5.008;
+use 5.010;
use strict;
use warnings;
@@ -42,9 +42,9 @@ if (@ARGV) {
# Throws: Text exception if MYMETA.json is not found or doesn't contain a
# version
sub dist_version {
- my $json = JSON::PP->new->utf8(1);
+ my $json = JSON::PP->new->utf8(1);
my $metadata = $json->decode(scalar(slurp('MYMETA.json')));
- my $version = $metadata->{version};
+ my $version = $metadata->{version};
if (!defined($version)) {
die "$0: cannot find version number in MYMETA.json\n";
}
@@ -121,7 +121,7 @@ Russ Allbery <eagle@eyrie.org>
=head1 COPYRIGHT AND LICENSE
-Copyright 2014-2016, 2019-2020 Russ Allbery <eagle@eyrie.org>
+Copyright 2014-2016, 2019-2021 Russ Allbery <eagle@eyrie.org>
Copyright 2013-2014 The Board of Trustees of the Leland Stanford Junior
University