Subject: | OAuth::Consumer experimental warnings |
Date: | Thu, 1 Oct 2015 12:44:58 +1300 |
To: | bug-OAuth-Consumer [...] rt.cpan.org |
From: | florent mara <florent.mara [...] gmail.com> |
Distribution name and version: OAuth::Consumer-0.03
Perl version 5.20.2
Operating System vendor and version: Debian Jessie
With Perl versions 5.18.0 and above, experimental features now warn.
Loading OAuth::Consumer on Perl 5.20.2 results in 11 warning being raised,
as follows.
given is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm
line 326.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
327.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
328.
given is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm
line 471.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
472.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
476.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
480.
given is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm
line 519.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
520.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
523.
when is experimental at /usr/local/share/perl/5.20.2/OAuth/Consumer.pm line
526.
It is possible to reproduce the warnings using the following code
#! /usr/bin/perl
use strict;
use warnings;
use Test::More;
BEGIN { use_ok('OAuth::Consumer', '0.03'); }
done_testing();
The fix I applied to Consumer.pm to suppress the warnings is
no if $] >= 5.018, warnings => "experimental";
Please do not hesitate to let me know if you have any questions.