Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2004 16:25:55 -0400 (EDT)
From:      "Aaron Peterson" <aaron@alpete.com>
To:        "Drew Tomlinson" <drew@mykitchentable.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Perl Help For Newbie
Message-ID:  <1922.206.114.147.90.1083011155.squirrel@mail.alpete.com>
In-Reply-To: <408D52E9.5090700@mykitchentable.net>
References:   <408D3DD7.1050607@mykitchentable.net><58959.204.118.78.206.1082999243.squirrel@mail.alpete.com><408D435A.70506@mykitchentable.net><4914.206.114.147.90.1083002506.squirrel@mail.alpete.com> <408D52E9.5090700@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I understand.  However, because my source file is already an HTML doc, I
> would have to some how extract the relevant parts into the data file you
> describe.  Would this still be the preferred way to do it?

The decision is up to you, really.  If it were up to me, and I could
forsee having to go through this process again in the future, I would do a
little more work up front to save time on subsequent repetitions.  If this
is really truly a one time thing, you can perhaps make your regex good
enough to do the substitution.  As I've mentioned, that is often difficult
with xml html (not impossible, but difficult).

Aaron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1922.206.114.147.90.1083011155.squirrel>