# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use C4::Templates;
use CGI qw ( -utf8 );
#!/usr/bin/perl
-use strict;
-use warnings;
+use Modern::Perl;
my @exclusions = (
'debhelper',
# Srdjan Jankovic <srdjan@catalyst.net.nz>
# Based on an sh version by Lars Wirzenius.
-use strict;
-use warnings;
+use Modern::Perl;
use Getopt::Long;
use POSIX qw/strftime/;
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-use strict;
-use warnings;
+use Modern::Perl;
use C4::Installer::PerlDependencies;
=cut
use utf8;
-use strict;
-use warnings;
+use Modern::Perl;
binmode(STDOUT, ":utf8");
use C4::Auth qw(check_api_auth);
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use Authen::CAS::Client;
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use Authen::CAS::Client;
use Storable qw(nstore_fd);
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use Authen::CAS::Client;
use Storable qw(fd_retrieve);
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use C4::Templates;
use C4::Output;
# use C4::Auth;
use C4::Installer::PerlModules;
-use strict;
-use warnings;
+use Modern::Perl;
my $help = 0;
my $missing = 0;
=cut
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Auth;
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-#use warnings; FIXME - Bug 2505
+use Modern::Perl;
require Exporter;
use CGI qw ( -utf8 );
use C4::Auth; # get_template_and_user
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use warnings;
-use strict;
+use Modern::Perl;
use CGI qw ( -utf8 );
use C4::Auth qw(:DEFAULT check_cookie_auth);
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use warnings;
-use strict;
+use Modern::Perl;
use Data::Dumper;
use POSIX;
use CGI qw ( -utf8 );
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
-use strict;
-use warnings;
+use Modern::Perl;
use CGI qw ( -utf8 );
use Encode qw( encode );