in reply to (Ovid) Re(2): How many bugs can *you* find
in thread How many bugs can *you* find
Actually, $section can't have regex characters as the code is written, since it simply iterates over the hard-coded items in @sections.Saw the useless parens (and that despicable dot star!), but didn't think about $section having regex characters.$content =~ s/<!--$section-->(.*)/<!--$section-->$contentTemp/; ## parens not needed on .*, what if $section has regex chars?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (Ovid) Re(2): How many bugs can *you* find
by merlyn (Sage) on May 01, 2001 at 18:30 UTC |