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

enforce strict and warnings pragmas usage

parent 66a07d63
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 13 deletions
......@@ -8,6 +8,7 @@
## Command-line client for the Test IdP Account Manager
use strict;
use warnings;
use utf8;
use lib qw(lib conf);
......
......@@ -7,7 +7,8 @@
## 15/09/2014, Olivier Salaün
## Web interface for the eduGAIN Access Check Account Manager
use strict vars;
use strict;
use warnings;
use utf8;
use lib qw(lib conf);
......@@ -153,11 +154,10 @@ sub execute {
delete $self->{'next_action'}; ## Prevent loops
if (defined $actions{ $self->{'action'} }) {
## Execute the target subroutine named req_actionName
no strict 'refs';
my $sub = 'req_' . $self->{'action'};
$status = &{$sub}($self);
} else {
## Inknown action
push @{ $self->{'param_out'}{'errors'} }, "unknown_action";
......
#!/usr/bin/perl
## Initialize Rose::DB code given the DB structure
use strict;
use warnings;
use lib qw(lib conf);
use Rose::DB;
......
......@@ -5,6 +5,7 @@ package IdPAccountManager::AuthenticationToken;
## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
use strict;
use warnings;
use IdPAccountManager::Data::Authenticationtoken;
use IdPAccountManager::Data::Authenticationtoken::Manager;
......
package IdPAccountManager::DB;
use strict;
use warnings;
use base 'Rose::DB';
......
package IdPAccountManager::DB::Object;
use strict;
use warnings;
use base 'Rose::DB::Object';
use IdPAccountManager::DB;
......
package IdPAccountManager::Data::Authenticationtoken;
use strict;
use warnings;
use base 'IdPAccountManager::DB::Object';
......
package IdPAccountManager::Data::Authenticationtoken::Manager;
use strict;
use warnings;
use base qw(Rose::DB::Object::Manager);
......
package IdPAccountManager::Data::DB::Object::AutoBase2;
use base 'Rose::DB::Object';
use IdPAccountManager::Data::DB::AutoBase1;
sub init_db { IdPAccountManager::Data::DB::AutoBase1->new }
1;
package IdPAccountManager::Data::Serviceprovider;
use strict;
use warnings;
use base 'IdPAccountManager::DB::Object';
......
package IdPAccountManager::Data::Serviceprovider::Manager;
use strict;
use warnings;
use base qw(Rose::DB::Object::Manager);
......
package IdPAccountManager::Data::Testaccount;
use strict;
use warnings;
use base 'IdPAccountManager::DB::Object';
......
package IdPAccountManager::Data::Testaccount::Manager;
use strict;
use warnings;
use base qw(Rose::DB::Object::Manager);
......
......@@ -5,6 +5,7 @@ package IdPAccountManager::SAMLMetadata;
## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
use strict;
use warnings;
use IdPAccountManager::Tools;
use Conf;
......
package IdPAccountManager::ServiceProvider;
use base 'IdPAccountManager::Data::Serviceprovider';
## Copyright (c) GEANT
## 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).
use strict;
use warnings;
use base 'IdPAccountManager::Data::Serviceprovider';
use IdPAccountManager::Data::Serviceprovider;
use IdPAccountManager::Data::Serviceprovider::Manager;
......
......@@ -5,6 +5,7 @@ package IdPAccountManager::TestAccount;
## from the European Community¹s Seventh Framework Programme (FP7/2007-2013) under grant agreement nº 238875 (GÉANT).
use strict;
use warnings;
use IdPAccountManager::Data::Testaccount;
use IdPAccountManager::Data::Testaccount::Manager;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment