- or download this
my $file = "index.html";
my @codes = ("<P>", "<BR>", "UL"); # and many more
- or download this
open(FILE, "> $file") or die "Oops: $!";
while(<FILE>);
- or download this
if ($_ eq @words) {
$_ =~ s/@words/lc @word/g;
}
- or download this
close(FILE);
- or download this
#!/usr/bin/perl -i
use warnings;
...
$_ =~ s/$word/lc $word/g;
}
close(FILE);