*** pgsql/doc/src/sgml/plperl.sgml 2009/11/29 03:02:27 2.71 --- pgsql/doc/src/sgml/plperl.sgml 2010/01/09 02:40:50 2.72 *************** *** 1,4 **** ! PL/Perl - Perl Procedural Language --- 1,4 ---- ! PL/Perl - Perl Procedural Language *************** *** 14,20 **** PL/Perl is a loadable procedural language that enables you to write PostgreSQL functions in the ! Perl programming language. --- 14,20 ---- PL/Perl is a loadable procedural language that enables you to write PostgreSQL functions in the ! Perl programming language. *************** SELECT * FROM perl_set(); *** 313,319 **** use strict; 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(); } --- 313,320 ---- use strict; in the function body. But this only works in PL/PerlU ! functions, since the use triggers a require ! which is not a trusted operation. In PL/Perl functions you can instead do: BEGIN { strict->import(); }