Re: Keyword list sanity check
| От | David Fetter |
|---|---|
| Тема | Re: Keyword list sanity check |
| Дата | |
| Msg-id | 20090430191100.GA16435@fetter.org обсуждение |
| Ответ на | Re: Keyword list sanity check (David Fetter <david@fetter.org>) |
| Ответы |
Re: Keyword list sanity check
|
| Список | pgsql-hackers |
On Thu, Apr 30, 2009 at 09:40:50AM -0700, David Fetter wrote: > On Thu, Apr 30, 2009 at 11:39:33AM -0500, Andy Lester wrote: > > > > On Apr 30, 2009, at 6:41 AM, Robert Haas wrote: > > > >>> Please clean up this code at least to the point where it's > >>> strict-clean, which means putting "use strict;" right after the > >>> shebang line and not checking it in until it runs that way. > >> > >> And "use warnings;", too. > > > > > > I'll prob'ly come up with a policy file for Perl::Critic and a make > > target for perlcritic. > > The current code has a bunch of 5s in it, so it's a target-rich > environment :) Here's a patch that gets it to pass perlcritic -4 and still (as far as I can tell) work. Cheers, David. -- David Fetter <david@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
Вложения
В списке pgsql-hackers по дате отправления: