You get an ARRAY of ARRAY, then you can print out want you want.
for more info. Please check perldsc.
The code above produces ...
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me