Loop « Regular Expression « Perl






1.Iterate over matches with foreach and $_ and nested foreach
2.Iterate over matches with foreach and $_ and nested while loop
3.Iterate over matches with while and $1
4.Zero width loop
5.A program that loops using a pattern.