Said
merlyn, and then
Ovid:
$content =~ s/<!--$section-->(.*)/<!--$section-->$contentTemp/;
## parens not needed on .*, what if $section has regex chars?
Saw the useless parens (and that despicable dot star!), but didn't think about $section having regex characters.
Actually,
$section can't have regex characters as the code is written, since it simply iterates over the hard-coded items in
@sections.
That will be five dollars, please. I take paypal, and I don't take American Express.
MeowChow
s aamecha.s a..a\u$&owag.print