in reply to Re: foreach in arrayin thread foreach in array
You probably meant to quote the @:
print "elements in \@data: ", scalar( @data ), $/; [download]