Basically, I'm trying to rewrite my html tags that are all uppercase to all lowercase.. How close am I?
Thanks.my $file = "index.html"; my @codes = ("<P>", "<BR>", "UL"); # and many more open(FILE, "> $file") or die "Oops: $!"; while(<FILE>); if ($_ eq @words) { $_ =~ s/@words/lc @word/g; } close(FILE);
In reply to substuting a whole file by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |