in reply to @array[1] is valid??
my @foo = (1,2,3); print "@foo[1,2]\n"; #prints: 2 3 [download]
------------------------------------------------------------ "Perl is a mess and that's good because the problem space is also a mess." - Larry Wall