Re: perl namespace for postgres specific modules?

Поиск
Список
Период
Сортировка
От andrew@dunslane.net
Тема Re: perl namespace for postgres specific modules?
Дата
Msg-id 1402.24.211.165.134.1155342666.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на perl namespace for postgres specific modules?  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Список pgsql-hackers
Andrew Hammond wrote:
> I need to write a perl module which will parse a .pgpass file into a
> reasonable data-structure in memory. I may extend it later to go in the
> other direction (given a populated datastructure, write a .pgpass).
>
> The first question that came to mind is what namespace should I put
> this under? Is there any precedent for perl modules intended to support
> postgresql administration? If not, I suggest
>
> PostgreSQL::pgpass
>


IIRC it is conventional to begin each section of a perl namespace with an
upper case char. That's what I tend to do at any rate. (Of course,
namespaces aren't really hierarchical, but it's a nice illusion.)

Other than that it seems reasonable.

cheers

andrew



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [PATCHES] New variable server_version_num
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: 8.2 features status