Skip to content

Commit 1a6d678

Browse files
committed
Clarify the documentation about PL/Perl nested subroutines, per Josh
Berkus.
1 parent efc1aeb commit 1a6d678

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/src/sgml/plperl.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.69 2008/04/10 15:16:46 alvherre Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plperl.sgml,v 2.70 2009/08/15 00:33:12 petere Exp $ -->
22

33
<chapter id="plperl">
44
<title>PL/Perl - Perl Procedural Language</title>
@@ -72,8 +72,10 @@ $$ LANGUAGE plperl;
7272
they refer to lexical variables in the enclosing scope. Because a PL/Perl
7373
function is wrapped in a subroutine, any named subroutine you create will
7474
be nested. In general, it is far safer to create anonymous subroutines
75-
which you call via a coderef. See the <literal>perldiag</literal>
76-
man page for more details.
75+
which you call via a coderef. See <literal>Variable "%s" will not stay shared</literal>
76+
and <literal>Variable "%s" is not available</literal> in the
77+
<citerefentry><refentrytitle>perldiag</></citerefentry> man page for more
78+
details.
7779
</para>
7880
</note>
7981

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy