in reply to Re: foreach loop with array of arrays
in thread foreach loop with array of arrays

That line with map didn't work for me. Try this instead: my @array = map { [ split ] } @data;