MT#7191 fix unicode warnings of module

workaround is to just load Geography::Countries before Sipwise::Base
which loads perl5i which loads utf8::all
ipeshinskaya/InvoiceTemplate5
Gerhard Jungwirth 12 years ago
parent 1b0f0ead8f
commit 6dc39e4178

@ -1,4 +1,5 @@
package NGCP::Panel::Controller::Contact;
use Geography::Countries qw/countries country CNT_I_FLAG CNT_I_CODE2/;
use Sipwise::Base;
use namespace::sweep;
BEGIN { extends 'Catalyst::Controller'; }
@ -8,8 +9,6 @@ use NGCP::Panel::Form::Contact::Admin;
use NGCP::Panel::Utils::Message;
use NGCP::Panel::Utils::Navigation;
use Geography::Countries qw/countries country CNT_F_REGULAR CNT_I_FLAG CNT_I_CODE2/;
sub auto :Does(ACL) :ACLDetachTo('/denied_page') :AllowedRole(admin) :AllowedRole(reseller) {
my ($self, $c) = @_;
$c->log->debug(__PACKAGE__ . '::auto');

Loading…
Cancel
Save