experimental in Perl 5.18. So we see warnings in the tests.
given is experimental at funcs.pl line 62.
when is experimental at funcs.pl line 63.
Just suppress this type of warnings for now. If Perl will disable
smart match, the simple regression code still works. If they will
choose to remove given/when, we can fix it later.
Discussed with and OK andre@ afresh1@
-# $OpenBSD: funcs.pl,v 1.5 2013/01/17 17:58:28 bluhm Exp $
+# $OpenBSD: funcs.pl,v 1.6 2014/04/24 09:05:10 bluhm Exp $
# Copyright (c) 2010-2013 Alexander Bluhm <bluhm@openbsd.org>
#
use strict;
use warnings;
+no warnings 'experimental::smartmatch';
use feature 'switch';
use Errno;
use Digest::MD5;
-# $OpenBSD: funcs.pl,v 1.8 2013/02/07 22:56:27 bluhm Exp $
+# $OpenBSD: funcs.pl,v 1.9 2014/04/24 09:05:10 bluhm Exp $
# Copyright (c) 2010-2013 Alexander Bluhm <bluhm@openbsd.org>
#
use strict;
use warnings;
+no warnings 'experimental::smartmatch';
use feature 'switch';
use Errno;
use Digest::MD5;