Hi all ...and boy, was I right to 'think' that! Duh! Here I've been merrily coding away doing some - though I say it myself - quite sophisticated stuff - and I'd never taken in that @stuff is the number of elements in the array while $#stuff is the index of the last element! Many thanks to all those who have pointed this out and put me on the road to enlightenment - especially Chris Nandor, Bart Lateur Ronald, J. Kimball and Dave Lorand... and no, I'm not using tied array... and no, I haven't changed $[... so I could use '$i < @stuff' in place of my '$i <= $#stuff' or even the 'for my $i (0 .. $#stuff)' construct with impunity. Many thanks again, everyone! Cheers ... Chris ====================================================================== Chris Sansom - Highway 57 - Designs for the World Wide Web | chris@highway57.co.uk http://www.highway57.co.uk | ====================================================================== ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org