On Wed, May 14, 2014 at 6:33 AM, Christoph Biedl wrote:

> In 5.18, upstream decided to discourage usage of smart matches and
> given..when after these have existed since 5.10 (or: more than six
> years) by marking them as experimental, and did this in a very harsh
> way. This will drive me away from using Perl as my preferred
> programming language.

I'm using this comment and one-liner to workaround this issue:

# Silence warnings about smartmatch being experimental
# The smartmatch we use works under recent Perl versions
no if $] >= 5.017011, warnings => 'experimental::smartmatch';

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAKTje6H5MwF0ZE4rFB=bnfv92sgwgg1mb+otxnieutni8r7...@mail.gmail.com

Reply via email to