Search Postgresql Archives

Use strict with plperl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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' trapped by operation mask..."

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

Mike

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux