http://qs321.pair.com?node_id=106134


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