for (@array) { s/0;nodata/1;$secondary/gi if /$email/ }
This would be (essentially) shorthand for:
for my $_ (@array) # 'my $_' is a little bit of a fudge { $_ =~ s/0;nodata/1;$secondary/gi if $_ =~ /$email/ }
See perlvar for a little more explanation.
--MidLifeXis
In reply to Re^3: Appending to a file.
by MidLifeXis
in thread Appending to a file.
by xavierarmadillo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |