From owner-freebsd-questions@FreeBSD.ORG Mon Apr 26 13:22:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BA2716A4CE for ; Mon, 26 Apr 2004 13:22:02 -0700 (PDT) Received: from ex-nihilo-llc.com (ex-nihilo-llc.com [206.114.147.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A86F43D1D for ; Mon, 26 Apr 2004 13:22:02 -0700 (PDT) (envelope-from aaron@alpete.com) Received: from mail.alpete.com (localhost [127.0.0.1]) by ex-nihilo-llc.com (Postfix) with SMTP id C0263B3; Mon, 26 Apr 2004 16:25:55 -0400 (EDT) Received: from 206.114.147.90 (proxying for 205.204.186.3) (SquirrelMail authenticated user aaron@alpete.com) by mail.alpete.com with HTTP; Mon, 26 Apr 2004 16:25:55 -0400 (EDT) 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> Date: Mon, 26 Apr 2004 16:25:55 -0400 (EDT) From: "Aaron Peterson" To: "Drew Tomlinson" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: Perl Help For Newbie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aaron@alpete.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 20:22:02 -0000 > 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