From a51ac93d1ff32a7bc5f5db86e3a6470b79881efd Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <art1@andreas-romeyke.de>
Date: Sat, 23 Oct 2021 18:15:36 +0200
Subject: [PATCH] - fixed warnings

---
 bin/slubsipbuilderbagit.pl      | 2 +-
 lib/SLUB/LZA/SIPBuilderBagIt.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl
index 65c07ce..033bd53 100644
--- a/bin/slubsipbuilderbagit.pl
+++ b/bin/slubsipbuilderbagit.pl
@@ -109,7 +109,7 @@ GetOptions(
     "debug"                      => \$SLUB::LZA::SIPBuilderBagIt::with_debug, # optional
     "help|?"                     => \$help,                                   # optional
     "man"                        => \$man,                                    # optional
-    "print_sip_version"          => sub{ print "supported sip version is $sipVersion\n"; exit 1; } # optional
+    "print_sip_version"          => sub{ print "supported sip version is $sipVersion\n"; exit 1; }, # optional
 ) or pod2usage(2);
 
 # help
diff --git a/lib/SLUB/LZA/SIPBuilderBagIt.pm b/lib/SLUB/LZA/SIPBuilderBagIt.pm
index 389ae1c..4ac5d00 100644
--- a/lib/SLUB/LZA/SIPBuilderBagIt.pm
+++ b/lib/SLUB/LZA/SIPBuilderBagIt.pm
@@ -288,7 +288,7 @@ sub validateRightsXML($rightsFilePathString,$xsdName){
     };
     if ($@) { # error
         die "File $rightsName failed validation: $@";
-    };
+    }
     return 1;
 }
 
-- 
GitLab