Paul Wise wrote... > 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';
Yes, but it's one of those "none of them is really charming". I did this, but it's BAD. It required changing each affected file. It hides messages that might be important in a future release. It will require a second walk through each file. Upstream's message so far is: "Don't use new features, even if they've been out for years." I'm not keen on products where the developers show such an attitude against their users *hint* Christoph -- 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/1400049...@msgid.manchmal.in-ulm.de