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.
34 # Grandfather $NAME import
38 local $Exporter::ExportLevel = 1;
39 Exporter::import($this,grep {s/^\$/*/} @list);
50 *INPUT_RECORD_SEPARATOR
53 *OUTPUT_FIELD_SEPARATOR
55 *OUTPUT_RECORD_SEPARATOR
61 *FORMAT_LINES_PER_PAGE
65 *FORMAT_LINE_BREAK_CHARACTERS
95 # The ground of all being. @ARG is deprecated (5.005 makes @_ lexical)
104 *LAST_PAREN_MATCH = *+ ;
108 *INPUT_LINE_NUMBER = *. ;
110 *INPUT_RECORD_SEPARATOR = */ ;
115 *OUTPUT_AUTOFLUSH = *| ;
116 *OUTPUT_FIELD_SEPARATOR = *, ;
118 *OUTPUT_RECORD_SEPARATOR = *\ ;
121 # Interpolation "constants".
123 *LIST_SEPARATOR = *" ;
124 *SUBSCRIPT_SEPARATOR = *; ;
129 *FORMAT_PAGE_NUMBER = *% ;
130 *FORMAT_LINES_PER_PAGE = *= ;
131 *FORMAT_LINES_LEFT = *- ;
133 *FORMAT_TOP_NAME = *^ ;
134 *FORMAT_LINE_BREAK_CHARACTERS = *: ;
135 *FORMAT_FORMFEED = *^L ;
142 *EXTENDED_OS_ERROR = *^E ;
151 *EFFECTIVE_USER_ID = *> ;
153 *REAL_GROUP_ID = *( ;
155 *EFFECTIVE_GROUP_ID = *) ;
164 *SYSTEM_FD_MAX = *^F ;
165 *INPLACE_EDIT = *^I ;
169 *EXECUTABLE_NAME = *^X ;
176 # *MULTILINE_MATCHING = ** ;