Use strict with plperl - Mailing list pgsql-general

From Mike G.
Subject Use strict with plperl
Date
Msg-id 20050117152537.GA23513@thegodshalls.thegodshalls
Whole thread Raw
Responses Re: Use strict with plperl
List 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 by date:

Previous
From: Mike Rylander
Date:
Subject: Re: Array to rowset function
Next
From: Michael Fuhr
Date:
Subject: Re: PQexecParams and CURSOR