From cf48c31bfa7bcc7b96469539fb40b171d6ec6a89 Mon Sep 17 00:00:00 2001 From: glyn Date: Thu, 6 Aug 2015 13:42:13 +0100 Subject: [PATCH] Mark experimental smartmach feature as enabled to suppress warnings in perl 5.18+. This doesn't mitigate the fact that smartmatch is now considered experimental, but use of smartmatch in this script is limited to simple given/when with string literals. --- pgbouncer_follower.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/pgbouncer_follower.pl b/pgbouncer_follower.pl index c6b6ede..aa55bcb 100755 --- a/pgbouncer_follower.pl +++ b/pgbouncer_follower.pl @@ -22,6 +22,7 @@ use strict; use warnings; +use experimental 'smartmatch'; use DBI; use v5.10.1; use Getopt::Long qw/GetOptions/; -- 2.39.5