Thoughts on using Text::Template for our autogenerated code?
От | Corey Huinker |
---|---|
Тема | Thoughts on using Text::Template for our autogenerated code? |
Дата | |
Msg-id | CADkLM=cq1JAXgFpksja9nNUUaW4z0a7cyP3g5Lk9mYqcB1bBEA@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Thoughts on using Text::Template for our autogenerated code?
Re: Thoughts on using Text::Template for our autogenerated code? Re: Thoughts on using Text::Template for our autogenerated code? |
Список | pgsql-hackers |
Is there a barrier to us using non-core perl modules, in this case Text::Template?
I think it would be a tremendous improvement in readability and maintainability over our current series of print statements, some multiline, some not.
The module itself works like this https://www.perlmonks.org/?node_id=33296
Some other digging around shows that the module has been around since 1996 (Perl5 was 1994) and hasn't had a feature update (or any update for that matter) since 2003. So it should meet our baseline 5.14 requirement, which came out in 2011.
I'm happy to proceed with a proof-of-concept so that people can see the costs/benefits, but wanted to first make sure it wasn't a total non-starter.
I think it would be a tremendous improvement in readability and maintainability over our current series of print statements, some multiline, some not.
The module itself works like this https://www.perlmonks.org/?node_id=33296
Some other digging around shows that the module has been around since 1996 (Perl5 was 1994) and hasn't had a feature update (or any update for that matter) since 2003. So it should meet our baseline 5.14 requirement, which came out in 2011.
I'm happy to proceed with a proof-of-concept so that people can see the costs/benefits, but wanted to first make sure it wasn't a total non-starter.
В списке pgsql-hackers по дате отправления: