Branko Čibej wrote on Wed, Mar 04, 2015 at 14:35:02 +0100:
> On 04.03.2015 02:31, danielsh_at_apache.org wrote:
> > +use v5.10.0; # needed for $^V
> > +
> > +# The given/when smartmatch facility, introduced in Perl v5.10, was made
> > +# experimental and "subject to change" in v5.18 (see perl5180delta). Every
> > +# use of it now triggers a warning.
> > +#
> > +# As of Perl v5.20.1, the semantics of given/when provided by Perl are
> > +# compatible with those expected by the script, so disable the warning for
> > +# those Perls.
> > +no if $^V le v5.20.1, warnings => 'experimental::smartmatch';
> >
> > # Licensed to the Apache Software Foundation (ASF) under one
> > # or more contributor license agreements. See the NOTICE file
>
> The svn-backport-conflicts bots are red across the board since this
> commit. The error is:
>
> Unknown warnings category 'experimental::smartmatch' at ./.svn/backport.pl line 15
> BEGIN failed--compilation aborted at ./.svn/backport.pl line 15.
Thanks, r1664148.
Received on 2015-03-04 22:14:12 CET