Skip to content

Commit

Permalink
use warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gray committed Oct 23, 2015
1 parent 94c990b commit 097d750
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/Squatting.pm
Expand Up @@ -2,8 +2,8 @@ package Squatting;

use strict;
no strict 'refs';
#use warnings;
#no warnings 'redefine';
use warnings;
no warnings 'redefine';
use base 'Class::C3::Componentised';

use List::Util qw(first);
Expand Down
4 changes: 2 additions & 2 deletions lib/Squatting/Controller.pm
Expand Up @@ -2,8 +2,8 @@ package Squatting::Controller;

use strict;
no strict 'refs';
#use warnings;
#no warnings 'redefine';
use warnings;
no warnings 'redefine';

# constructor
sub new {
Expand Down
2 changes: 1 addition & 1 deletion lib/Squatting/Mapper.pm
@@ -1,7 +1,7 @@
package Squatting::Mapper;

use strict;
#use warnings;
use warnings;
use base 'Continuity::Mapper';

sub get_session_id_from_hit {
Expand Down
2 changes: 1 addition & 1 deletion lib/Squatting/On/CGI.pm
Expand Up @@ -2,7 +2,7 @@ package Squatting::On::CGI;

use strict;
no strict 'refs';
#use warnings;
use warnings;
use CGI;
use CGI::Cookie;
use HTTP::Response;
Expand Down
2 changes: 1 addition & 1 deletion lib/Squatting/On/Continuity.pm
Expand Up @@ -2,7 +2,7 @@ package Squatting::On::Continuity;

use strict;
no strict 'refs';
#use warnings;
use warnings;
use Continuity;
use Squatting::Mapper;
use CGI::Cookie;
Expand Down
4 changes: 2 additions & 2 deletions lib/Squatting/View.pm
@@ -1,8 +1,8 @@
package Squatting::View;

use strict;
#use warnings;
#no warnings 'redefine';
use warnings;
no warnings 'redefine';

our $AUTOLOAD;

Expand Down
1 change: 1 addition & 0 deletions lib/Squatting/With/AccessTrace.pm
@@ -1,6 +1,7 @@
package Squatting::With::AccessTrace;

use strict;
use warnings;

use Data::Dump 'pp';
our $I = 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/Squatting/With/Coro/Debug.pm
@@ -1,7 +1,7 @@
package Squatting::With::Coro::Debug;

use strict;
#use warnings;
use warnings;
use Coro::Debug;

sub init {
Expand Down

0 comments on commit 097d750

Please sign in to comment.