Hi! As a perl beginner, I have a silly question about array-slices-syntax:
That's clear: perl -e '@a=(a,b,c);print "@a[1..2]\n"' ==> b c perl -e '@a=(a,b,c);print "$a[1]\n"' ==> b But why does $array[range] always give the first array-entry? perl -e '@a=(a,b,c);print "$a[1..2]\n"' ==> a (OK, maybe it's useless, but I'd like to understand...) Thomas. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]