Skip Menu |

This queue is for tickets about the Pod-HtmlEasy CPAN distribution.

Report information
The Basics
Id: 92034
Status: resolved
Priority: 0/
Queue: Pod-HtmlEasy

People
Owner: GLEACH [...] cpan.org
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.1.10
Fixed in: v1.1.11a



Subject: "given is experimental" warnings
Date: Fri, 10 Jan 2014 17:07:32 +0000
To: bug-Pod-HtmlEasy [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
On current perls, Pod-HtmlEasy generates a bunch of warnings: given is experimental at /opt/perl-5.18.1/cpan/build/Pod-HtmlEasy-1.1.10-sHu9K8/blib/lib/Pod/HtmlEasy/Parser.pm line 245. when is experimental at /opt/perl-5.18.1/cpan/build/Pod-HtmlEasy-1.1.10-sHu9K8/blib/lib/Pod/HtmlEasy/Parser.pm line 246. You should either turn off that warning (lexically), accepting the risks of using an experimental feature, or stop using given/when. As you're only using exact string matches, nothing complicated, I think you're not actually gaining enough from given/when to justify using an experimental feature in production code. Attached patch changes it to if/elsif/else. -zefram

Message body is not shown because sender requested not to inline it.