Learning Perl on Win32 Systems

Learning Perl on Win32 SystemsSearch this book
Previous: D.6 Many, Many Predefined VariablesAppendix D
Topics We Didn't Mention
Next: D.8 Additional Regular Expression Features
 

D.7 Symbol Table Manipulation With *FRED

You can make b an alias for a with *b = *a. This statement means that $a and $b refer to the same variable, as do @a and @b, and even filehandles and formats a and b. You can also localize *b inside a block with local(*b), letting you have local filehandles, formats, and other things. Pretty fancy stuff, but useful when you need it.


Previous: D.6 Many, Many Predefined VariablesLearning Perl on Win32 SystemsNext: D.8 Additional Regular Expression Features
D.6 Many, Many Predefined VariablesBook IndexD.8 Additional Regular Expression Features