diff options
-rw-r--r-- | lib/AdminPanel/Module.pm | 2 | ||||
-rw-r--r-- | lib/AdminPanel/Module/Clock.pm | 1 | ||||
-rw-r--r-- | lib/AdminPanel/Module/LogViewer.pm | 1 | ||||
-rw-r--r-- | lib/AdminPanel/Module/Services.pm | 1 | ||||
-rw-r--r-- | lib/AdminPanel/Module/Users.pm | 3 | ||||
-rw-r--r-- | lib/AdminPanel/Shared/GUI.pm | 7 | ||||
-rw-r--r-- | lib/AdminPanel/Shared/JournalCtl.pm | 4 | ||||
-rw-r--r-- | lib/AdminPanel/Shared/Users.pm | 3 |
8 files changed, 5 insertions, 17 deletions
diff --git a/lib/AdminPanel/Module.pm b/lib/AdminPanel/Module.pm index acddc8ff..cdb54a0b 100644 --- a/lib/AdminPanel/Module.pm +++ b/lib/AdminPanel/Module.pm @@ -30,8 +30,6 @@ Version 0.01 our $VERSION = '1.0.0'; -use strict; -use warnings; use diagnostics; use yui; diff --git a/lib/AdminPanel/Module/Clock.pm b/lib/AdminPanel/Module/Clock.pm index b96f1c70..5a75f328 100644 --- a/lib/AdminPanel/Module/Clock.pm +++ b/lib/AdminPanel/Module/Clock.pm @@ -53,7 +53,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA use Moose; use diagnostics; -use strict; use AdminPanel::Shared::GUI; use AdminPanel::Shared::Locales; diff --git a/lib/AdminPanel/Module/LogViewer.pm b/lib/AdminPanel/Module/LogViewer.pm index 28c0d67a..a91a1642 100644 --- a/lib/AdminPanel/Module/LogViewer.pm +++ b/lib/AdminPanel/Module/LogViewer.pm @@ -51,7 +51,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA use Moose; use diagnostics; -use strict; use open OUT => ':utf8'; use AdminPanel::Shared::GUI; diff --git a/lib/AdminPanel/Module/Services.pm b/lib/AdminPanel/Module/Services.pm index 006ca49d..4704c802 100644 --- a/lib/AdminPanel/Module/Services.pm +++ b/lib/AdminPanel/Module/Services.pm @@ -57,7 +57,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA use Moose; -use strict; use English; use MDK::Common::String qw(formatAlaTeX); diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm index a3210ef2..753b79e5 100644 --- a/lib/AdminPanel/Module/Users.pm +++ b/lib/AdminPanel/Module/Users.pm @@ -66,8 +66,8 @@ our $VERSION = '1.0.0'; ## ############################################### +use Moose; -use strict; use POSIX qw(ceil); use Config::Auto; use File::ShareDir ':ALL'; @@ -83,7 +83,6 @@ use AdminPanel::Shared::Locales; use AdminPanel::Shared::Users; use MDK::Common::DataStructure qw(member); -use Moose; extends qw( AdminPanel::Module ); has '+icon' => ( diff --git a/lib/AdminPanel/Shared/GUI.pm b/lib/AdminPanel/Shared/GUI.pm index 22dd0871..ca0f91eb 100644 --- a/lib/AdminPanel/Shared/GUI.pm +++ b/lib/AdminPanel/Shared/GUI.pm @@ -53,8 +53,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA =cut -use strict; -use warnings; +use Moose; + use diagnostics; use yui; @@ -62,9 +62,6 @@ use AdminPanel::Shared qw(pathList2hash); use AdminPanel::Shared::Locales; -use Moose; - - has 'loc' => ( is => 'rw', init_arg => undef, diff --git a/lib/AdminPanel/Shared/JournalCtl.pm b/lib/AdminPanel/Shared/JournalCtl.pm index 1514252b..8cee01bd 100644 --- a/lib/AdminPanel/Shared/JournalCtl.pm +++ b/lib/AdminPanel/Shared/JournalCtl.pm @@ -49,11 +49,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. =cut +use Moose; use diagnostics; -use strict; - -use Moose; has 'this_boot' => ( diff --git a/lib/AdminPanel/Shared/Users.pm b/lib/AdminPanel/Shared/Users.pm index cd253bd9..ce6f41ae 100644 --- a/lib/AdminPanel/Shared/Users.pm +++ b/lib/AdminPanel/Shared/Users.pm @@ -51,8 +51,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA =cut +use Moose; use diagnostics; -use strict; use Config::Auto; use Data::Password::Meter; @@ -69,7 +69,6 @@ use POSIX qw/ceil/; use AdminPanel::Shared::Locales; use AdminPanel::Shared; -use Moose; #============================================================= |