Hello List, I'm trying to grep an array of arrays, but I am getting the following error:
Can't use string ("1") as an ARRAY ref while "strict refs" in use at form.pl line 121, <$COORDS> line 1281. Press any key to continue . . . Below is the grep statement: print grep { $_->[0][0] >= 0 } @coords; Any idea what I am doing wrong? Thank in advance, Chris -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/