in reply to perl array matrix
I don't understand what you mean by your questions, but perhaps Perl Data Structures Cookbook (see also perldocperldsc from the command line) might help.
Give a man a fish: <%-(-(-(-<