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:
strict or warnings would have tipped you off to this one.$matrix[$i][0] = undef;
In Section
Seekers of Perl Wisdom