foreach $line (@words) {
$line =~ tr/A-Z/a-z/;
foreach $swear (@ignore) {
$line =~ s/$swear//;
}
}
In reply to Re: Nested foreach
by queue
in thread Nested foreach
by esoteric neonate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |