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

bladx has asked for the wisdom of the Perl Monks concerning the following question:

Hey I have a question about the efficiency of when I am going to print out a variable, after referencing it for instance (since I have recently read the man page perlreftut.)

Is there any speed difference between putting it like this:

${$variablefoo};

and this:

$$variablefoo;

? Thanks for any clarification. My guess would be that it is simply cleaner to write it out one way rather than another, but sometimes does it have to do with speed too?

Andy Summers