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


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


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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-10-25 06:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.