summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-04 17:28:29 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-04 17:28:29 +0000
commit4f25aa189c4a92535547c706ad37c13b7caee387 (patch)
tree08af6df6000b2bd878b1b2e5e05cd48a1db0464b /pod/perlsub.pod
parent0e950d832564d240b1bebd0a01f04f9f5d57cc79 (diff)
downloadperl-4f25aa189c4a92535547c706ad37c13b7caee387.tar.gz
implement STOP blocks and fix compiler to use them (minimally
tested) p4raw-id: //depot/perl@4515
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod7
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 4abdc39529..416763f6d8 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -207,9 +207,8 @@ core, as are modules whose names are in all lower case. A
function in all capitals is a loosely-held convention meaning it
will be called indirectly by the run-time system itself, usually
due to a triggered event. Functions that do special, pre-defined
-things include C<BEGIN>, C<END>, C<AUTOLOAD>, and C<DESTROY>--plus
-all functions mentioned in L<perltie>. The 5.005 release adds
-C<INIT> to this list.
+things include C<BEGIN>, C<STOP>, C<INIT>, C<END>, C<AUTOLOAD>, and
+C<DESTROY>--plus all functions mentioned in L<perltie>.
=head2 Private Variables via my()
@@ -455,7 +454,7 @@ starts to run:
}
See L<perlmod/"Package Constructors and Destructors"> about the
-special triggered functions, C<BEGIN> and C<INIT>.
+special triggered functions, C<BEGIN>, C<STOP>, C<INIT> and C<END>.
If declared at the outermost scope (the file scope), then lexicals
work somewhat like C's file statics. They are available to all