- or download this
foreach my $num (split /::/ => $value) {
- or download this
my @value_tokens = split /::/, $value;
foreach my $value_token (@value_tokens) {
- or download this
Here's how a C programmer might code up a particular algo-
rithm in Perl:
...
rather than merely terminating the inner one. And it's
+
faster because Perl executes a "foreach" statement more
rapidly than it would the equivalent "for" loop.
- or download this
if $found:
next;
}