in reply to Re^2: Appending to a file.
in thread Appending to a file.
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
|
|---|