From 4ab6e09e1197f1a0e9fce9a3a3a5ce821c0d6194 Mon Sep 17 00:00:00 2001 From: Guillermo Ramos Date: Sun, 1 Sep 2019 23:14:09 +0200 Subject: Enable stictures --- lib/TgLib/Api.pm | 3 +++ lib/TgLib/Cache.pm | 3 +++ lib/TgLib/Env.pm | 3 +++ lib/TgLib/Logger.pm | 3 +++ tgrecv | 3 +++ tgsend | 3 +++ 6 files changed, 18 insertions(+) diff --git a/lib/TgLib/Api.pm b/lib/TgLib/Api.pm index e643a42..66c808f 100644 --- a/lib/TgLib/Api.pm +++ b/lib/TgLib/Api.pm @@ -1,5 +1,8 @@ package TgLib::Api; +use strict; +use warnings; + use JSON qw; use HTTP::Request; use LWP::UserAgent; diff --git a/lib/TgLib/Cache.pm b/lib/TgLib/Cache.pm index dbbf252..b1a3c2d 100644 --- a/lib/TgLib/Cache.pm +++ b/lib/TgLib/Cache.pm @@ -1,5 +1,8 @@ package TgLib::Cache; +use strict; +use warnings; + use Storable qw; use File::Basename qw; use File::Path qw; diff --git a/lib/TgLib/Env.pm b/lib/TgLib/Env.pm index c019a2c..9cb86be 100644 --- a/lib/TgLib/Env.pm +++ b/lib/TgLib/Env.pm @@ -1,5 +1,8 @@ package TgLib::Env; +use strict; +use warnings; + use parent qw; our @EXPORT = qw<$HOME $CONFIG_HOME $CACHE_HOME $TOKEN>; diff --git a/lib/TgLib/Logger.pm b/lib/TgLib/Logger.pm index 17a111d..c80d22b 100644 --- a/lib/TgLib/Logger.pm +++ b/lib/TgLib/Logger.pm @@ -1,5 +1,8 @@ package TgLib::Logger; +use strict; +use warnings; + use parent qw; our @EXPORT = qw; diff --git a/tgrecv b/tgrecv index bd6e6ad..8456401 100755 --- a/tgrecv +++ b/tgrecv @@ -7,6 +7,9 @@ # Dependencies: HTTP-Message, JSON ################################################################################ +use strict; +use warnings; + $main::VERSION = "0.1.1"; use Getopt::Long qw(:config auto_version); diff --git a/tgsend b/tgsend index 0ee318d..62aa347 100755 --- a/tgsend +++ b/tgsend @@ -7,6 +7,9 @@ # Dependencies: HTTP-Message, JSON ################################################################################ +use strict; +use warnings; + $main::VERSION = "0.1.1"; use Getopt::Long qw(:config auto_version); -- cgit v1.2.3