Re: how do i update one section of a page leaving rest?
- From: "DJ Stunks" <DJStunks@xxxxxxxxx>
- Date: 26 Oct 2006 14:21:22 -0700
Michele Dondi wrote:
On 26 Oct 2006 12:45:31 -0700, "DJ Stunks" <DJStunks@xxxxxxxxx> wrote:
$page =~ s/$startsection.*?$endsection/;
well I hate to do this, but
Substitution replacement not terminated at -e line 1.
(How do you know it was on -e line 1? Actually it wasn't!! :-)
Why do you hate to do so? We're not here advertise broken code. My
mistake, I stand corrected:
$page =~ s/$startsection(.*?)$endsection/update_section($1)/e;
just because this is a stupid thread started by an even stupider troll
and because I know you know better :)
picking nits,
-jp
.
- References:
- how do i update one section of a page leaving rest?
- From: gavino
- Re: how do i update one section of a page leaving rest?
- From: DJ Stunks
- how do i update one section of a page leaving rest?
- Prev by Date: Re: Simple question reg string matching
- Next by Date: Re: Naive threading performance questions
- Previous by thread: Re: how do i update one section of a page leaving rest?
- Next by thread: Re: how do i update one section of a page leaving rest?
- Index(es):