Thank you very much. I had not realized that lists are passed by reference by default, though of course it seems logical. BTW, this came up in a little script that displays Voronoi neighbourhoods in ASCII. http://www.ocf.berkeley.edu/~abhishek/vor.html Translated from a posting on Perl Monks ;-) Abhishek