Commit 75f20be6 authored by Xavier Guimard's avatar Xavier Guimard

Fix some warnings (#1559)

parent 1ab78267
...@@ -13,6 +13,7 @@ use Lemonldap::NG::Common::Apache::Session; ...@@ -13,6 +13,7 @@ use Lemonldap::NG::Common::Apache::Session;
# Workaround for another ModPerl/Mouse issue... # Workaround for another ModPerl/Mouse issue...
BEGIN { BEGIN {
require Mouse; require Mouse;
no warnings;
my $v = my $v =
$Mouse::VERSION $Mouse::VERSION
? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) ) ? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) )
......
...@@ -8,6 +8,7 @@ use Lemonldap::NG::Common::Safelib; #link protected safe Safe object ...@@ -8,6 +8,7 @@ use Lemonldap::NG::Common::Safelib; #link protected safe Safe object
# Workaround for another ModPerl/Mouse issue... # Workaround for another ModPerl/Mouse issue...
BEGIN { BEGIN {
require Mouse; require Mouse;
no warnings;
my $v = $Mouse::VERSION my $v = $Mouse::VERSION
? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) ) ? sprintf( "%d.%03d%03d", ( $Mouse::VERSION =~ /(\d+)/g ) )
: 0; : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment