As of perl 5.18 the given when keywords are marked as experimental and produce compile time errors. Avoid the unnecessary error by reverting to an if/else
Created attachment 23929 [details] [review] Proposed Patch With patch applied module will not issue errors because of use of experimental features in testsuite with perl >= 5.18
Created attachment 25355 [details] [review] Bug 11478 Replace experimental given/when keywords The keywords given and when are flagged experimental in perl 5.18 and subject to change replace the construct by an if/elsif Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Same as bug 11479 comment 3, it is for/when, not given/when.
Created attachment 25498 [details] [review] Bug 11478 Replace experimental given/when keywords The keywords given and when are flagged experimental in perl 5.18 and subject to change replace the construct by an if/elsif Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Pushed to master. Thanks, Colin!
Pushed to 3.14.x, will be in 3.14.07