diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-26 19:10:26 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-01-26 19:10:26 +0000 |
commit | 7d30b5c4c60a798b772f5d7bd3b85d21016359c7 (patch) | |
tree | ee12691ce71882115a98a9546a7a6b953d0d055a /pod | |
parent | dfdd1393a5b8826d427524003a858b7556c66371 (diff) | |
download | perl-7d30b5c4c60a798b772f5d7bd3b85d21016359c7.tar.gz |
s/STOP/CHECK/ blocks
p4raw-id: //depot/perl@4905
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 6 | ||||
-rw-r--r-- | pod/perldiag.pod | 2 | ||||
-rw-r--r-- | pod/perlfunc.pod | 2 | ||||
-rw-r--r-- | pod/perlmod.pod | 6 | ||||
-rw-r--r-- | pod/perlrun.pod | 2 | ||||
-rw-r--r-- | pod/perlsub.pod | 4 | ||||
-rw-r--r-- | pod/perltodo.pod | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index a48aa044d2..495e2ff2e9 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -24,10 +24,10 @@ responsibility to ensure that warnings are enabled judiciously. =over 4 -=item STOP is a new keyword +=item CHECK is a new keyword In addition to C<BEGIN>, C<INIT>, C<END>, C<DESTROY> and C<AUTOLOAD>, -subroutines named C<STOP> are now special. These are queued up during +subroutines named C<CHECK> are now special. These are queued up during compilation and behave similar to END blocks, except they are called at the end of compilation rather than at the end of execution. They cannot be called directly. @@ -925,7 +925,7 @@ run in compile-only mode. Since this is typically not the expected behavior, END blocks are not executed anymore when the C<-c> switch is used. -See L<STOP blocks> for how to run things when the compile phase ends. +See L<CHECK blocks> for how to run things when the compile phase ends. =head2 Potential to leak DATA filehandles diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 9c5b33ee7c..f3d72605af 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1342,7 +1342,7 @@ unlikely to be what you want. =item %s failed--call queue aborted -(F) An untrapped exception was raised while executing a STOP, INIT, or +(F) An untrapped exception was raised while executing a CHECK, INIT, or END subroutine. Processing of the remainder of the queue of such routines has been prematurely ended. diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index dbefd85ee4..905c444e5e 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3902,7 +3902,7 @@ array by 1 and moving everything down. If there are no elements in the array, returns the undefined value. If ARRAY is omitted, shifts the C<@_> array within the lexical scope of subroutines and formats, and the C<@ARGV> array at file scopes or within the lexical scopes established by -the C<eval ''>, C<BEGIN {}>, C<INIT {}>, C<STOP {}>, and C<END {}> +the C<eval ''>, C<BEGIN {}>, C<INIT {}>, C<CHECK {}>, and C<END {}> constructs. See also C<unshift>, C<push>, and C<pop>. C<Shift()> and C<unshift> do the diff --git a/pod/perlmod.pod b/pod/perlmod.pod index 351ba73c5a..994c3eb5dc 100644 --- a/pod/perlmod.pod +++ b/pod/perlmod.pod @@ -213,7 +213,7 @@ This also has implications for the use of the SUPER:: qualifier =head2 Package Constructors and Destructors Four special subroutines act as package constructors and destructors. -These are the C<BEGIN>, C<STOP>, C<INIT>, and C<END> routines. The +These are the C<BEGIN>, C<CHECK>, C<INIT>, and C<END> routines. The C<sub> is optional for these routines. A C<BEGIN> subroutine is executed as soon as possible, that is, the moment @@ -245,9 +245,9 @@ Perl runtime begins execution, in "first in, first out" (FIFO) order. For example, the code generators documented in L<perlcc> make use of C<INIT> blocks to initialize and resolve pointers to XSUBs. -Similar to C<END> blocks, C<STOP> blocks are run just after the +Similar to C<END> blocks, C<CHECK> blocks are run just after the Perl compile phase ends and before the run time begins, in -LIFO order. C<STOP> blocks are again useful in the Perl compiler +LIFO order. C<CHECK> blocks are again useful in the Perl compiler suite to save the compiled state of the program. When you use the B<-n> and B<-p> switches to Perl, C<BEGIN> and diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 5eb3b829f0..f668d53178 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -268,7 +268,7 @@ An alternate delimiter may be specified using B<-F>. =item B<-c> causes Perl to check the syntax of the program and then exit without -executing it. Actually, it I<will> execute C<BEGIN>, C<STOP>, and +executing it. Actually, it I<will> execute C<BEGIN>, C<CHECK>, and C<use> blocks, because these are considered as occurring outside the execution of your program. C<INIT> and C<END> blocks, however, will be skipped. diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 4ec11f99d4..ebb9e55774 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -207,7 +207,7 @@ 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<STOP>, C<INIT>, C<END>, C<AUTOLOAD>, and +things include C<BEGIN>, C<CHECK>, C<INIT>, C<END>, C<AUTOLOAD>, and C<DESTROY>--plus all functions mentioned in L<perltie>. =head2 Private Variables via my() @@ -454,7 +454,7 @@ starts to run: } See L<perlmod/"Package Constructors and Destructors"> about the -special triggered functions, C<BEGIN>, C<STOP>, C<INIT> and C<END>. +special triggered functions, C<BEGIN>, C<CHECK>, 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 diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 7836acf677..016d53301c 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -824,7 +824,7 @@ Workarounds to help Win32 dynamic loading. =head2 END blocks -END blocks need saving in compiled output, now that STOP blocks +END blocks need saving in compiled output, now that CHECK blocks are available. =head2 _AUTOLOAD |