1English(3pm)           Perl Programmers Reference Guide           English(3pm)
2
3
4

NAME

6       English - use nice English (or awk) names for ugly punctuation
7       variables
8

SYNOPSIS

10           use English qw( -no_match_vars ) ;  # Avoids regex performance penalty
11           use English;
12           ...
13           if ($ERRNO =~ /denied/) { ... }
14

DESCRIPTION

16       This module provides aliases for the built-in variables whose names no
17       one seems to like to read.  Variables with side-effects which get
18       triggered just by accessing them (like $0) will still be affected.
19
20       For those variables that have an awk version, both long and short
21       English alternatives are provided.  For example, the $/ variable can be
22       referred to either $RS or $INPUT_RECORD_SEPARATOR if you are using the
23       English module.
24
25       See perlvar for a complete list of these.
26

PERFORMANCE

28       This module can provoke sizeable inefficiencies for regular
29       expressions, due to unfortunate implementation details.  If performance
30       matters in your application and you don't need $PREMATCH, $MATCH, or
31       $POSTMATCH, try doing
32
33          use English qw( -no_match_vars ) ;
34
35       .  It is especially important to do this in modules to avoid penalizing
36       all applications which use them.
37
38
39
40perl v5.16.3                      2013-03-04                      English(3pm)
Impressum