in reply to link list trouble
See Mastering Algorithms with Perl, p.47 to p.71.
Christian Lemburg Brainbench MVP for Perl http://www.brainbench.com