From 97c3b005a3852d1cc89822ef8a8f27aa13ef42df Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 9 Sep 2018 14:16:35 +0200 Subject: Use strictures instead of strict/warnings Signed-off-by: Florian Pritz --- lib/App/BorgRestore.pm | 3 +-- lib/App/BorgRestore/Borg.pm | 3 +-- lib/App/BorgRestore/DB.pm | 3 +-- lib/App/BorgRestore/Helper.pm | 3 +-- lib/App/BorgRestore/PathTimeTable/DB.pm | 3 +-- lib/App/BorgRestore/PathTimeTable/Memory.pm | 3 +-- lib/App/BorgRestore/Settings.pm | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) (limited to 'lib') diff --git a/lib/App/BorgRestore.pm b/lib/App/BorgRestore.pm index 04b563a..f95c71f 100644 --- a/lib/App/BorgRestore.pm +++ b/lib/App/BorgRestore.pm @@ -1,7 +1,6 @@ package App::BorgRestore; use v5.14; -use strict; -use warnings; +use strictures 2; our $VERSION = "3.1.0"; diff --git a/lib/App/BorgRestore/Borg.pm b/lib/App/BorgRestore/Borg.pm index 66c5705..62555fa 100644 --- a/lib/App/BorgRestore/Borg.pm +++ b/lib/App/BorgRestore/Borg.pm @@ -1,7 +1,6 @@ package App::BorgRestore::Borg; use v5.14; -use warnings; -use strict; +use strictures 2; use App::BorgRestore::Helper; diff --git a/lib/App/BorgRestore/DB.pm b/lib/App/BorgRestore/DB.pm index 6af14af..010f916 100644 --- a/lib/App/BorgRestore/DB.pm +++ b/lib/App/BorgRestore/DB.pm @@ -1,7 +1,6 @@ package App::BorgRestore::DB; use v5.14; -use strict; -use warnings; +use strictures 2; use App::BorgRestore::Helper; diff --git a/lib/App/BorgRestore/Helper.pm b/lib/App/BorgRestore/Helper.pm index 7e80218..869d4ee 100644 --- a/lib/App/BorgRestore/Helper.pm +++ b/lib/App/BorgRestore/Helper.pm @@ -1,7 +1,6 @@ package App::BorgRestore::Helper; use v5.14; -use strict; -use warnings; +use strictures 2; use autodie; use Function::Parameters; diff --git a/lib/App/BorgRestore/PathTimeTable/DB.pm b/lib/App/BorgRestore/PathTimeTable/DB.pm index 5d07ebc..1a24999 100644 --- a/lib/App/BorgRestore/PathTimeTable/DB.pm +++ b/lib/App/BorgRestore/PathTimeTable/DB.pm @@ -1,6 +1,5 @@ package App::BorgRestore::PathTimeTable::DB; -use strict; -use warnings; +use strictures 2; use Function::Parameters; use Log::Any qw($log); diff --git a/lib/App/BorgRestore/PathTimeTable/Memory.pm b/lib/App/BorgRestore/PathTimeTable/Memory.pm index 012e937..e84c4a4 100644 --- a/lib/App/BorgRestore/PathTimeTable/Memory.pm +++ b/lib/App/BorgRestore/PathTimeTable/Memory.pm @@ -1,7 +1,6 @@ package App::BorgRestore::PathTimeTable::Memory; use v5.14; -use strict; -use warnings; +use strictures 2; use Function::Parameters; diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm index 81c2cac..0d9d015 100644 --- a/lib/App/BorgRestore/Settings.pm +++ b/lib/App/BorgRestore/Settings.pm @@ -1,7 +1,6 @@ package App::BorgRestore::Settings; use v5.14; -use strict; -use warnings; +use strictures 2; use App::BorgRestore::Helper; -- cgit v1.2.3-24-g4f1b