Last Modified
2015-07-14 14:21:25 -0700
Requires

Description

Include the English library file in a Ruby script, and you can reference the global variables such as VAR{$_} using less cryptic names, listed in the following table.% vref{tab:english}.

Without 'English':

$\ = ' -- '
"waterbuffalo" =~ /buff/
print $", $', $$, "\n"

With English:

require "English"

$OUTPUT_FIELD_SEPARATOR = ' -- '
"waterbuffalo" =~ /buff/
print $LOADED_FEATURES, $POSTMATCH, $PID, "\n"
blog comments powered by Disqus