Nice link and I hadn't see Slice => before, but your code doesn't do what the OP wants. It creates a hash per row. The OP wants an array per column.
Everyone's making two errors.
In reply to Re^2: Getting Record Set via DBI into an Array of Arrays
by ikegami
in thread Getting Record Set via DBI into an Array of Arrays
by overrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |