| От | Josh Berkus |
|---|---|
| Тема | pl/perl doc correction: subroutines |
| Дата | |
| Msg-id | 4A7CCE40.8030504@agliodbs.com обсуждение исходный текст |
| Ответы |
Re: pl/perl doc correction: subroutines
|
| Список | pgsql-docs |
All, From 40.1. PL/Perl Functions and Arguments "The use of named nested subroutines is dangerous in Perl, especially if they refer to lexical variables in the enclosing scope. Because a PL/Perl function is wrapped in a subroutine, any named subroutine you create will be nested. In general, it is far safer to create anonymous subroutines which you call via a coderef. See the perldiag man page for more details." The reference to the "perldiag" doc is confusing because it's a dictionary of errors. We need to be specific about what part of the page: "See "Variable %s Will Not Stay Shared" and "Variable %s is not available" in the perldiag man page for more details." -- Josh Berkus PostgreSQL Experts Inc. www.pgexperts.com
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера