-
+
PL/Perl - Perl Procedural Language
The use of named nested subroutines is dangerous in Perl, especially if
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 Variable "%s" will not stay shared
- and Variable "%s" is not available in the
- perldiag> man page for more
- details.
+ function is wrapped in a subroutine, any named subroutine you place inside
+ one will be nested. In general, it is far safer to create anonymous
+ subroutines which you call via a coderef. For more information, see the
+ entries for Variable "%s" will not stay shared and
+ Variable "%s" is not available in the
+ perldiag> man page, or
+ search the Internet for perl nested named subroutine>.