https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20582 --- Comment #14 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Comment on attachment 74517 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74517 Bug 20582: Turn Koha into a Mojolicious application Review of attachment 74517: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20582&attachment=74517) ----------------------------------------------------------------- ::: Koha/App/Koha.pm @@ +1,3 @@
+package Koha::App::Koha; + +use Modern::Perl;
This really isn't required as you're using Mojo::Base below which turns on pretty much all the useful stuff from Modern::Perl and is more stable in it's actions... use strict; use warnings; use utf8; use feature ':5.10'; use IO::Handle (); require Mojolicious; push @ISA, 'Mojolicious'; sub has { Mojo::Base::attr(__PACKAGE__, @_) } -- You are receiving this mail because: You are watching all bug changes.