programming-examples/perl/Statement/The foreach modifier evaluates once for each element, with $_ aliased to each element.pl
2019-11-15 12:59:38 +01:00

2 lines
45 B
Perl

@alpha=(a .. z, "\n");
print foreach @alpha;