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

load Conf module where needed only

parent 51085267
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ use lib qw(lib conf); ...@@ -15,6 +15,7 @@ use lib qw(lib conf);
use Getopt::Long qw(:config auto_help); use Getopt::Long qw(:config auto_help);
use Pod::Usage; use Pod::Usage;
use Conf;
use IdPAccountManager::TestAccount; use IdPAccountManager::TestAccount;
use IdPAccountManager::SAMLMetadata; use IdPAccountManager::SAMLMetadata;
use IdPAccountManager::ServiceProvider; use IdPAccountManager::ServiceProvider;
......
...@@ -18,6 +18,7 @@ use CGI::Util; ...@@ -18,6 +18,7 @@ use CGI::Util;
use Template; use Template;
use Template::Constants qw( :debug ); use Template::Constants qw( :debug );
use Conf;
use IdPAccountManager::TestAccount; use IdPAccountManager::TestAccount;
use IdPAccountManager::SAMLMetadata; use IdPAccountManager::SAMLMetadata;
use IdPAccountManager::ServiceProvider; use IdPAccountManager::ServiceProvider;
......
...@@ -10,8 +10,6 @@ use warnings; ...@@ -10,8 +10,6 @@ use warnings;
use IdPAccountManager::Data::AuthenticationToken; use IdPAccountManager::Data::AuthenticationToken;
use IdPAccountManager::Data::AuthenticationToken::Manager; use IdPAccountManager::Data::AuthenticationToken::Manager;
use Conf;
use Digest::MD5; use Digest::MD5;
use POSIX qw(strftime); use POSIX qw(strftime);
......
...@@ -9,7 +9,6 @@ use warnings; ...@@ -9,7 +9,6 @@ use warnings;
use IdPAccountManager::Tools; use IdPAccountManager::Tools;
use IdPAccountManager::Logger; use IdPAccountManager::Logger;
use Conf;
use XML::LibXML; use XML::LibXML;
......
...@@ -4,6 +4,7 @@ package IdPAccountManager::Tools; ...@@ -4,6 +4,7 @@ package IdPAccountManager::Tools;
## This software was developed by RENATER. The research leading to these results has received funding ## This software was developed by RENATER. The research leading to these results has received funding
## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT). ## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
use Conf;
use Template; use Template;
# load Template::Stash to make method tables visible # load Template::Stash to make method tables visible
......
...@@ -4,6 +4,7 @@ use strict; ...@@ -4,6 +4,7 @@ use strict;
use warnings; use warnings;
use IdPAccountManager::Logger; use IdPAccountManager::Logger;
use Conf;
## New web request ## New web request
sub new { sub new {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment