On 2015-06-01 04:36:49, user42_kevin@yahoo.com.au wrote:
Show quoted text> "Slaven_Rezic via RT" <bug-Math-NumSeq-Alpha@rt.cpan.org> writes:
> >
> > Newer perls have new warning related to smartmatch stuff,
>
> By warning I take it you mean breaking code which used a documented
> feature as soon as it was documented. :-)
>
>
> I think the blame lies with Lingua::POL::Numbers and
> Lingua::UK::Numbers, which in turn I only get to via
> Lingua::Any::Numbers. (I can load before my warnings checker if you
> don't think it can be resolved at the source.)
>
> Dunno why Lingua::POL::Numbers isn't called Lingua::PL::Numbers.
> Isn't
> there a PL module already? Or that's the reason it's not called that.
>
> Lingua::UK::Numbers reads like it's for money rather than numbers as
> such. If so maybe Lingua::Any::Numbers would skip it, if it can
> divine
> its nature.
Actually, the mentioned fail report is quite old, and both Lingua::POL::Numbers and Lingua::UK::Numbers are fixed and don't emit any warnings anymore. But Lingua::SWE::Numbers is still causing warnings (use of encoding pragma is deprecated). I wrote a bug report:
https://rt.cpan.org/Ticket/Display.html?id=104855
For your module, I don't know what's the best approach for upstream warnings. Maybe you can wait for a couple of days if the remaining warning is fixed, and if it isn't, cease these specific warnings (e.g. by detecting the presence of the problematic module+version).