Gareth Noyce Gareth.Noyce at
Thu Nov 30 05:28:46 CST 2000

References to scalars are no quicker, however arrays and other
data-structures do see a lot of benefit from references. In general I tend
to use references purely for passing closures/tieing events to anonymous
functions and getting around weird TK namespacing issues...

"Advanced Perl" -- chapter one p9-10, discusses reference passing
performance. The last few chapters discuss the internals in more detail...

More information about the Southampton-pm mailing list