in reply to Changing data within a matrix
The reason $matrix[i][0] didn't work is because you forgot the $ in front of i. Try it this way:
$matrix[$i][0] = undef; [download]