From 9ee81348aaa57b34f0c4f0b75bc387f24beb451e Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 6 Jan 2013 00:24:23 +0100 Subject: Bug 826678: Disable warnings about the deprecated Return::Value module when loading Email::Send r=wicked a=LpSolit --- Bugzilla/Install/Requirements.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 9bc5be14a..eb36d15a6 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -23,6 +23,13 @@ use List::Util qw(max); use Safe; use Term::ANSIColor; +# Return::Value 1.666002 pollutes the error log with warnings about this +# deprecated module. We have to set NO_CLUCK = 1 before loading Email::Send +# in have_vers() to disable these warnings. +BEGIN { + $Return::Value::NO_CLUCK = 1; +} + use parent qw(Exporter); our @EXPORT = qw( REQUIRED_MODULES -- cgit v1.2.3-24-g4f1b