Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Efficiency of $$var, ${$var}

by guillaume (Pilgrim)
on Aug 20, 2001 at 09:05 UTC ( #106134=note: print w/replies, xml ) Need Help??


in reply to Efficiency of $$var, ${$var}

Ok, I'm not totally sure about that, but I would think it doesn't matter. Each are probably equivalent for perl and considered to be the same at compile-time.

But if you are considering using a variable as a variable name, you might be interested in reading this:
Why it's stupid to `use a variable as a variable name'.

good reading,
Guillaume

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (1)
As of 2022-05-19 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?