Thanks for your (and Dave's) answer.
You mention you'd rather use unshift, is this for any particular reason (like performance maybe) ?
As a newbie to Perl I'd like to understand which is the preferred method. Or is it just down to personal choice ?
In this particular case I wouldn't expect the matrix to be more than about 100 records by the way.