diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index e7cdd2eb3c89b2c0536fccbd24fd74620b3ef5ef..f1a99a1f999f9e7deaf50f06c57930b69296cb57 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,5 +1,5 @@ @@ -253,12 +253,16 @@ SELECT * FROM perl_set(); - Another way to use the strict pragma is to just put + Another way to use the strict pragma is to put use strict; - in the function body. But this only works for PL/PerlU - functions, since use is not a trusted operation. + in the function body. But this only works in PL/PerlU + functions, since use is not a trusted operation. In + PL/Perl functions you can instead do + +BEGIN { strict->import(); } +