Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

perlman:lib:English

by root (Scribe)
on Dec 23, 1999 at 00:49 UTC ( #1106=perlfunc: print w/ replies, xml ) Need Help??

lib:English

See the current Perl documentation for lib:English.

Here is our local, out-dated (pre-5.6) version:


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



    use English;
    ...
    if ($ERRNO =~ /denied/) { ... }



This module provides aliases for the built-in variables whose names no one seems to like to read. Variables with side-effects which get triggered just by accessing them (like $0) will still be affected.

For those variables that have an awk version, both long and short English alternatives are provided. For example, the $/ variable can be referred to either $RS or $INPUT_RECORD_SEPARATOR if you are using the English module.

See perlvar for a complete list of these.


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (19)
As of 2015-07-01 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (6 votes), past polls