http://www.perlmonks.org?node_id=740715


in reply to alias of a variable

*main::foo = \$/; print ">$main::foo<";
Some perl special variables may have magical qualities that interfere with using aliases, I don't know. perldoc perldata and see the section on Typeglobs and Filehandles.

Be well,
rir