Skip Menu |

This queue is for tickets about the RDF-Helper CPAN distribution.

Report information
The Basics
Id: 106114
Status: open
Priority: 0/
Queue: RDF-Helper

People
Owner: Nobody in particular
Requestors: vladimir.alexiev [...] ontotext.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.01
Fixed in: (no value)



Subject: "given/when is experimental" warnings
In perl 5.22 the module gives the following warnings: given is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 29. when is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 30. when is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 31. Adding this line fixes it: no warnings 'experimental::smartmatch';
On 2015-07-27 11:22:41, vladimir.alexiev@ontotext.com wrote: Show quoted text
> In perl 5.22 the module gives the following warnings: > > given is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 29. > when is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 30. > when is experimental at C:/Strawberry/perl/site/lib/RDF/Helper.pm line 31. > > Adding this line fixes it: > no warnings 'experimental::smartmatch'; >
But breaks in older perl, so best to protect it e.g. like this: no if $] >= 5.018, warnings => 'experimental::smartmatch';