So i\'m writing a quick perl script that cleans up some HTML code and runs it through a html -> pdf program. I want to lose as little information as possible, so I\'d like t
I believe your problem is an unescaped /
If it's not the problem, it certainly is a problem.
Try this instead, note the \/80
$file=~s/
The basic pattern for this code is:
$file =~ s/some_search/some_replace/gis;
The gis
are options, which I'd have to look up. I think g = global, i = case insensitive, s = nothing comes to mind right now.