Skip to content
Snippets Groups Projects
Commit 02030f19 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

load POSIX module correctly, only where needed

parent 85acd9c4
Branches
Tags
No related merge requests found
...@@ -12,7 +12,6 @@ use utf8; ...@@ -12,7 +12,6 @@ use utf8;
use lib qw(lib conf); use lib qw(lib conf);
use Getopt::Long qw(:config auto_help); use Getopt::Long qw(:config auto_help);
use POSIX;
use Pod::Usage; use Pod::Usage;
use IdPAccountManager::TestAccount; use IdPAccountManager::TestAccount;
......
...@@ -17,8 +17,6 @@ use CGI::Util; ...@@ -17,8 +17,6 @@ use CGI::Util;
use Template; use Template;
use Template::Constants qw( :debug ); use Template::Constants qw( :debug );
use POSIX;
use IdPAccountManager::TestAccount; use IdPAccountManager::TestAccount;
use IdPAccountManager::SAMLMetadata; use IdPAccountManager::SAMLMetadata;
use IdPAccountManager::ServiceProvider; use IdPAccountManager::ServiceProvider;
......
...@@ -13,6 +13,7 @@ use IdPAccountManager::Tools; ...@@ -13,6 +13,7 @@ use IdPAccountManager::Tools;
use Conf; use Conf;
use Digest::MD5; use Digest::MD5;
use POSIX qw(strftime);
require Exporter; require Exporter;
my @ISA = qw(Exporter); my @ISA = qw(Exporter);
......
...@@ -11,6 +11,7 @@ use IdPAccountManager::Data::Testaccount::Manager; ...@@ -11,6 +11,7 @@ use IdPAccountManager::Data::Testaccount::Manager;
use IdPAccountManager::Tools; use IdPAccountManager::Tools;
use Conf; use Conf;
use POSIX qw(strftime);
require Exporter; require Exporter;
my @ISA = qw(Exporter); my @ISA = qw(Exporter);
......
...@@ -11,6 +11,7 @@ use Template::Stash; ...@@ -11,6 +11,7 @@ use Template::Stash;
use Digest::SHA; use Digest::SHA;
use Encode; use Encode;
use POSIX qw(strftime);
my %log_levels = my %log_levels =
('debug' => 0, 'info' => 1, 'trace' => 1, 'notice' => 2, 'error' => 3); ('debug' => 0, 'info' => 1, 'trace' => 1, 'notice' => 2, 'error' => 3);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment