@@ -8,8 +8,8 @@ Synopsis 2: Bits and Pieces
8
8
9
9
Created: 10 Aug 2004
10
10
11
- Last Modified: 10 Apr 2015
12
- Version: 293
11
+ Last Modified: 21 Apr 2015
12
+ Version: 294
13
13
14
14
This document summarizes Apocalypse 2, which covers small-scale lexical
15
15
items and typological issues. (These Synopses also contain updates to
@@ -2720,11 +2720,14 @@ coyotes.)
2720
2720
The file's scope is known as C<UNIT>, but there are one or more lexical
2721
2721
scopes outside of that corresponding to the linguistic setting (often known
2722
2722
as the prelude in other cultures). Hence, the C<SETTING> scope is
2723
- equivalent to C<UNIT::OUTER >. For a standard Perl program C<SETTING> is the
2723
+ equivalent to C<UNIT::OUTERS >. For a standard Perl program C<SETTING> is the
2724
2724
same as C<CORE>, but various startup options (such as C<-n> or C<-p>) can
2725
2725
put you into a domain specific language, in which case C<CORE> remains the
2726
2726
scope of the standard language, while C<SETTING> represents the scope
2727
- defining the DSL that functions as the setting of the current file. See
2727
+ defining the DSL that functions as the setting of the current file. When used
2728
+ as a search term in the middle of a name, C<SETTING> includes all its outer scopes
2729
+ up to C<CORE>. To get I<only> the setting's outermost scope, use C<UNIT::OUTER> instead.
2730
+ See
2728
2731
also the C<-L>/C<--language> switch described in L<S19>. If a setting
2729
2732
wishes to gain control of the main execution, it merely needs to declare a
2730
2733
C<MAIN> routine as documented in S06. In this case the ordinary execution
0 commit comments