Use strict with plperl

Поиск
Список
Период
Сортировка
От Mike G.
Тема Use strict with plperl
Дата
Msg-id 20050117152537.GA23513@thegodshalls.thegodshalls
обсуждение исходный текст
Ответы Re: Use strict with plperl  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
In 8.0 how does one have a plperl function use strict?

If I add "use strict" within the function body I receive an error message: "creation of Perl function failed: 'require'
trappedby operation mask..." 

If I do Create Function X AS .... Language 'plperl' strict volatile the function will compile and execute.  However if
Ido not explicitly declare any variables as my / local / global it still executes which under the strict rule should
not.

Mike

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

Предыдущее
От: Mike Rylander
Дата:
Сообщение: Re: Array to rowset function
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: PQexecParams and CURSOR