From: glyn Date: Thu, 6 Aug 2015 12:42:13 +0000 (+0100) Subject: Mark experimental smartmach feature as enabled to suppress warnings in perl 5.18+. X-Git-Url: https://git.8kb.co.uk/?p=slony-i%2Fpgbouncer_follower;a=commitdiff_plain;h=cf48c31bfa7bcc7b96469539fb40b171d6ec6a89 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. --- 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/;