Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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


Comment on Re: alias of a variable
Select or Download Code

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 imbibing at the Monastery: (10)
As of 2014-12-28 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls