Well, all you need to do to use the same syntax with my solution is
$table=\@matrix; [download]
In reply to Re^2: dynamic matrix by tirwhan in thread dynamic matrix by liri