Re: Perl 5.12 complains about ecpg parser-hacking scripts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Perl 5.12 complains about ecpg parser-hacking scripts
Date: 2011-01-23 01:48:35
Message-ID: 29750.1295747315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 01/22/2011 06:06 PM, Tom Lane wrote:
>> On Fedora 14 I see these warnings while building ecpg's preproc.y:
>>
>> Use of assignment to $[ is deprecated at ./parse.pl line 21.
>> Use of assignment to $[ is deprecated at ./check_rules.pl line 18.
>>
>> Any Perl experts want to make those go away?

> I think these really need to be rewritten from scratch.

I noticed they didn't "use strict" either ... have at it.

> We could probably silence the warnings by putting:
> use warnings; no warnings qw(deprecate);

Doesn't seem like a step forward.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-01-23 01:50:20 Re: auto-sizing wal_buffers
Previous Message Robert Haas 2011-01-23 01:47:31 Re: pg_test_fsync problem