Re: Silence perl warning in check-world

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Silence perl warning in check-world
Date: 2017-03-22 04:23:31
Message-ID: 03b06210-8a66-3dec-a7b2-1014af2187d2@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/13/17 16:51, Jeff Janes wrote:
> In some older versions of perl (like v5.10), I get a warning that:
>
> Use of implicit split to @_ is deprecated at
> src/test/recovery/t/006_logical_decoding.pl
> <http://006_logical_decoding.pl> line 26.
>
> Splitting into a dummy variable silences that warning, as in the
> attached. There may be a better way to silence the warning.
> (Presumably it actually is clobbering @_ in those older versions of
> Perl, but that doesn't seem to cause problems in this particular case.)

committed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-03-22 05:31:38 Re: exposing wait events for non-backends (was: Tracking wait event for latches)
Previous Message Peter Eisentraut 2017-03-22 04:18:19 Re: Create replication slot in pg_basebackup if requested and not yet present