Приглашаем посетить
Иванов В.И. (ivanov.lit-info.ru)

[Appendix D] D.7 Symbol Table Manipulation with *FRED

PreviousAppendix D
Topics We Didn't Mention
Next
 

D.7 Symbol Table Manipulation with *FRED

You can make b an alias for a with *b = *a. This 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), and that lets you have local filehandles and formats and other things. Pretty fancy stuff, but useful when you need it.


PreviousHomeNext
D.6 Many, Many Predefined VariablesBook IndexD.8 Additional Regular-Expression Features