foreach statement. : Foreach Statement Perl December 26, 2019 #!/usr/local/bin/perl @words = ("Here", "is", "a", "list."); foreach $word (@words) { print ("$wordn"); } Post navigation foreach loop and $_ : Special Variables Language Basics Perlforeach statement with number range : Foreach Statement Perl Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website