foreach my $s ( @array ){ print "$s\n"; } # OR one of many other ways like: print $_."\n" for @array;