Clarify the documentation about PL/Perl nested subroutines, per Josh
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 15 Aug 2009 00:33:12 +0000 (00:33 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 15 Aug 2009 00:33:12 +0000 (00:33 +0000)
Berkus.

doc/src/sgml/plperl.sgml

index 2f2e53bbf167821910a2fcd49f5d8bb484723d25..49631f27d98f0118a749208eaaf86a9df4387983 100644 (file)
@@ -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 <literal>perldiag</literal>
-    man page for more details.
+    which you call via a coderef. See <literal>Variable "%s" will not stay shared</literal>
+    and <literal>Variable "%s" is not available</literal> in the
+    <citerefentry><refentrytitle>perldiag</></citerefentry> man page for more
+    details.
    </para>
   </note>