Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: alias of a variable

by rir (Vicar)
on Feb 02, 2009 at 14:52 UTC ( #740715=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-09-29 18:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (558 votes). Check out past polls.