From: Karen Etheridge Date: Mon, 3 Feb 2014 03:17:22 +0000 (-0800) Subject: put strictures before package statement X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5231273c6ddb272733286beb5e3d5faf94cfd437;p=gitmo%2FMooseX-Daemonize.git put strictures before package statement --- diff --git a/lib/MooseX/Daemonize.pm b/lib/MooseX/Daemonize.pm index 83680f4..3b5bb96 100644 --- a/lib/MooseX/Daemonize.pm +++ b/lib/MooseX/Daemonize.pm @@ -1,5 +1,7 @@ +use strict; +use warnings; package MooseX::Daemonize; -use strict; # because Kwalitee is pedantic + use Moose::Role; use MooseX::Types::Path::Class; use File::Path qw(make_path); diff --git a/lib/MooseX/Daemonize/Core.pm b/lib/MooseX/Daemonize/Core.pm index 3eb7252..e7d2385 100644 --- a/lib/MooseX/Daemonize/Core.pm +++ b/lib/MooseX/Daemonize/Core.pm @@ -1,5 +1,7 @@ +use strict; +use warnings; package MooseX::Daemonize::Core; -use strict; # cause Perl::Critic errors are annoying + use MooseX::Getopt; # to load the NoGetopt metaclass use Moose::Role; diff --git a/lib/MooseX/Daemonize/Pid.pm b/lib/MooseX/Daemonize/Pid.pm index 472be2f..1a92ff8 100644 --- a/lib/MooseX/Daemonize/Pid.pm +++ b/lib/MooseX/Daemonize/Pid.pm @@ -1,5 +1,7 @@ +use strict; +use warnings; package MooseX::Daemonize::Pid; -use strict; # because Kwalitee is pedantic + use Moose; use Moose::Util::TypeConstraints; diff --git a/lib/MooseX/Daemonize/Pid/File.pm b/lib/MooseX/Daemonize/Pid/File.pm index d79e977..fec7b6d 100644 --- a/lib/MooseX/Daemonize/Pid/File.pm +++ b/lib/MooseX/Daemonize/Pid/File.pm @@ -1,5 +1,7 @@ +use strict; +use warnings; package MooseX::Daemonize::Pid::File; -use strict; # because Kwalitee is pedantic + use Moose; use Moose::Util::TypeConstraints; diff --git a/lib/MooseX/Daemonize/WithPidFile.pm b/lib/MooseX/Daemonize/WithPidFile.pm index bf1bcf6..d47ed21 100644 --- a/lib/MooseX/Daemonize/WithPidFile.pm +++ b/lib/MooseX/Daemonize/WithPidFile.pm @@ -1,9 +1,10 @@ +use strict; +use warnings; package MooseX::Daemonize::WithPidFile; -use strict; # cause Perl::Critic errors are annoying + use MooseX::Getopt; # to load the Getopt metaclass use Moose::Role; - use MooseX::Daemonize::Pid::File; with 'MooseX::Daemonize::Core'; diff --git a/lib/Test/MooseX/Daemonize.pm b/lib/Test/MooseX/Daemonize.pm index 8c98072..281fcd3 100644 --- a/lib/Test/MooseX/Daemonize.pm +++ b/lib/Test/MooseX/Daemonize.pm @@ -1,5 +1,6 @@ -package Test::MooseX::Daemonize; use strict; +use warnings; +package Test::MooseX::Daemonize; our $AUTHORITY = 'cpan:PERIGRIN';