From e7d9c2f92d7335d89f39727c039c69be8350743a Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <andreas.romeyke@slub-dresden.de> Date: Wed, 29 Jan 2025 07:55:54 +0100 Subject: [PATCH] - update to perl 5.36 or higher --- bin/slubsipbuilderbagit.pl | 5 +---- lib/SLUB/LZA/SIPBuilderBagIt.pm | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl index 40e8849..3183a42 100644 --- a/bin/slubsipbuilderbagit.pl +++ b/bin/slubsipbuilderbagit.pl @@ -39,9 +39,7 @@ # along with this program. If not, see <https://www.gnu.org/licenses/> #=============================================================================== - -use strict; -use warnings; +use v5.36; use lib './lib'; #=============================================================================== @@ -53,7 +51,6 @@ BEGIN{ } } -use feature 'say'; use SLUB::LZA::SIPBuilderBagIt; use DateTime::Format::ISO8601; use Getopt::Long; diff --git a/lib/SLUB/LZA/SIPBuilderBagIt.pm b/lib/SLUB/LZA/SIPBuilderBagIt.pm index 4a19c88..ca89457 100644 --- a/lib/SLUB/LZA/SIPBuilderBagIt.pm +++ b/lib/SLUB/LZA/SIPBuilderBagIt.pm @@ -39,12 +39,8 @@ package SLUB::LZA::SIPBuilderBagIt; # along with this program. If not, see <https://www.gnu.org/licenses/> #=============================================================================== -use strict; -use warnings; +use v5.36; use utf8; -use feature 'say'; -no warnings "experimental::signatures"; -use feature 'signatures'; use Archive::BagIt; use Carp; use Encode; -- GitLab