From 1a6d678f00206b87a274c42fc4f1dcde5f1d14d0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 15 Aug 2009 00:33:12 +0000 Subject: [PATCH] Clarify the documentation about PL/Perl nested subroutines, per Josh Berkus. --- doc/src/sgml/plperl.sgml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/plperl.sgml b/doc/src/sgml/plperl.sgml index dfb15b3bd1..3e7d3b2aa3 100644 --- a/doc/src/sgml/plperl.sgml +++ b/doc/src/sgml/plperl.sgml @@ -1,4 +1,4 @@ - + PL/Perl - Perl Procedural Language @@ -72,8 +72,10 @@ $$ LANGUAGE plperl; they refer to lexical variables in the enclosing scope. Because a PL/Perl function is wrapped in a subroutine, any named subroutine you create will be nested. In general, it is far safer to create anonymous subroutines - which you call via a coderef. See the perldiag - man page for more details. + which you call via a coderef. See Variable "%s" will not stay shared + and Variable "%s" is not available in the + perldiag man page for more + details.