in reply to Re^2: printing all elements of arrays
in thread printing all elements of arrays

You can read perlfunc to find out about map. Also, the easiest way to print all the elements of an array is:

print "@array\n";