##
(print(@array)) . "\n";
####
print (...) interpreted as function at - line 1.
Useless use of concatenation in void context at - line 1.
####
print @array, "\n"; # joined with ''
print "@array\n"; # joined with $", ' ' by default
print join("\t", @array), "\n"; # joined with whatever you specify