8 English - use nice English (or awk) names for ugly punctuation variables
14 if ($ERRNO =~ /denied/) { ... }
18 This module provides aliases for the built-in variables whose
19 names no one seems to like to read. Variables with side-effects
20 which get triggered just by accessing them (like $0) will still
23 For those variables that have an B<awk> version, both long
24 and short English alternatives are provided. For example,
25 the C<$/> variable can be referred to either $RS or
26 $INPUT_RECORD_SEPARATOR if you are using the English module.
28 See L<perlvar> for a complete list of these.
32 This module provokes sizeable inefficiencies for regular expressions,
33 due to unfortunate implementation details. If performance matters,
34 consider avoiding English.
40 # Grandfather $NAME import
44 local $Exporter::ExportLevel
= 1;
45 Exporter
::import
($this,grep {s/^\$/*/} @list);
56 *INPUT_RECORD_SEPARATOR
59 *OUTPUT_FIELD_SEPARATOR
61 *OUTPUT_RECORD_SEPARATOR
67 *FORMAT_LINES_PER_PAGE
71 *FORMAT_LINE_BREAK_CHARACTERS
99 *LAST_REGEXP_CODE_RESULT
100 *EXCEPTIONS_BEING_CAUGHT
105 # The ground of all being. @ARG is deprecated (5.005 makes @_ lexical)
114 *LAST_PAREN_MATCH = *+ ;
115 *LAST_MATCH_START = *-{ARRAY} ;
116 *LAST_MATCH_END = *+{ARRAY} ;
120 *INPUT_LINE_NUMBER = *. ;
122 *INPUT_RECORD_SEPARATOR = */ ;
127 *OUTPUT_AUTOFLUSH = *| ;
128 *OUTPUT_FIELD_SEPARATOR = *, ;
130 *OUTPUT_RECORD_SEPARATOR = *\ ;
133 # Interpolation "constants".
135 *LIST_SEPARATOR = *" ;
136 *SUBSCRIPT_SEPARATOR = *; ;
141 *FORMAT_PAGE_NUMBER = *% ;
142 *FORMAT_LINES_PER_PAGE = *= ;
143 *FORMAT_LINES_LEFT = *- ;
145 *FORMAT_TOP_NAME = *^ ;
146 *FORMAT_LINE_BREAK_CHARACTERS = *: ;
147 *FORMAT_FORMFEED = *^L ;
154 *EXTENDED_OS_ERROR = *^E ;
163 *EFFECTIVE_USER_ID = *> ;
165 *REAL_GROUP_ID = *( ;
167 *EFFECTIVE_GROUP_ID = *) ;
173 *PERL_VERSION = *^V ;
177 *SYSTEM_FD_MAX = *^F ;
178 *INPLACE_EDIT = *^I ;
180 *LAST_REGEXP_CODE_RESULT = *^R ;
181 *EXCEPTIONS_BEING_CAUGHT = *^S ;
184 *EXECUTABLE_NAME = *^X ;
191 # *MULTILINE_MATCHING = ** ;
192 # *OLD_PERL_VERSION = *] ;