8 English - use nice English (or awk) names for ugly punctuation variables
14 if ($ERRNO =~ /denied/) { ... }
18 You should I<not> use this module in programs intended to be portable
19 among Perl versions, programs that must perform regular expression
20 matching operations efficiently, or libraries intended for use with
21 such programs. In a sense, this module is deprecated. The reasons
22 for this have to do with implementation details of the Perl
23 interpreter which are too thorny to go into here. Perhaps someday
24 they will be fixed to make "C<use English>" more practical.
26 This module provides aliases for the built-in variables whose
27 names no one seems to like to read. Variables with side-effects
28 which get triggered just by accessing them (like $0) will still
31 For those variables that have an B<awk> version, both long
32 and short English alternatives are provided. For example,
33 the C<$/> variable can be referred to either $RS or
34 $INPUT_RECORD_SEPARATOR if you are using the English module.
36 See L<perlvar> for a complete list of these.
42 # Grandfather $NAME import
46 local $Exporter::ExportLevel = 1;
47 Exporter::import($this,grep {s/^\$/*/} @list);
58 *INPUT_RECORD_SEPARATOR
61 *OUTPUT_FIELD_SEPARATOR
63 *OUTPUT_RECORD_SEPARATOR
69 *FORMAT_LINES_PER_PAGE
73 *FORMAT_LINE_BREAK_CHARACTERS
103 # The ground of all being. @ARG is deprecated (5.005 makes @_ lexical)
112 *LAST_PAREN_MATCH = *+ ;
116 *INPUT_LINE_NUMBER = *. ;
118 *INPUT_RECORD_SEPARATOR = */ ;
123 *OUTPUT_AUTOFLUSH = *| ;
124 *OUTPUT_FIELD_SEPARATOR = *, ;
126 *OUTPUT_RECORD_SEPARATOR = *\ ;
129 # Interpolation "constants".
131 *LIST_SEPARATOR = *" ;
132 *SUBSCRIPT_SEPARATOR = *; ;
137 *FORMAT_PAGE_NUMBER = *% ;
138 *FORMAT_LINES_PER_PAGE = *= ;
139 *FORMAT_LINES_LEFT = *- ;
141 *FORMAT_TOP_NAME = *^ ;
142 *FORMAT_LINE_BREAK_CHARACTERS = *: ;
143 *FORMAT_FORMFEED = *^L ;
150 *EXTENDED_OS_ERROR = *^E ;
159 *EFFECTIVE_USER_ID = *> ;
161 *REAL_GROUP_ID = *( ;
163 *EFFECTIVE_GROUP_ID = *) ;
172 *SYSTEM_FD_MAX = *^F ;
173 *INPLACE_EDIT = *^I ;
177 *EXECUTABLE_NAME = *^X ;
184 # *MULTILINE_MATCHING = ** ;