aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL2
-rw-r--r--lib/AdminPanel/Module/Hosts.pm2
-rwxr-xr-xscripts/hostmanager4
3 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.PL b/Makefile.PL
index ffbfea8..20c6efc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -34,6 +34,8 @@ WriteMakefile(
"File::HomeDir" => 0,
"File::ShareDir" => 0,
"Data::Password::Meter" => 0,
+ "Modern::Perl" => 1.03,
+ "autodie" => 2.20,
},
EXE_FILES => [ qw( scripts/adminMouse
scripts/adminService
diff --git a/lib/AdminPanel/Module/Hosts.pm b/lib/AdminPanel/Module/Hosts.pm
index dbda87f..a509b43 100644
--- a/lib/AdminPanel/Module/Hosts.pm
+++ b/lib/AdminPanel/Module/Hosts.pm
@@ -20,7 +20,7 @@
package AdminPanel::Module::Hosts;
-use Modern::Perl 2011;
+use Modern::Perl '2011';
use autodie;
use Moose;
use POSIX qw(ceil);
diff --git a/scripts/hostmanager b/scripts/hostmanager
index 006f5ef..3852b17 100755
--- a/scripts/hostmanager
+++ b/scripts/hostmanager
@@ -1,7 +1,7 @@
#!/usr/bin/perl
# Copyright 2013 Matteo Pasotti
#
-# This file is part of hostmanager
+# This file is part of hostmanager thus adminpanel
#
# hostmanager is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
#
# You should have received a copy of the GNU General Public License
# along with AdminPanel. If not, see <http://www.gnu.org/licenses/>.
-use Modern::Perl 2011;
+use Modern::Perl '2011';
use autodie;
use AdminPanel::Module::Hosts;