Re: HTML::Parser

2003-08-14 Thread Rhys Hopkins
Joel Bernstein wrote: On Mon, Aug 04, 2003 at 05:08:39PM +0100, Rhys Hopkins wrote: Whilst Data Munging with Perl is, of course, a fine book, in With a fine title. Following the recent discussion on the pronunciation of regex / regexp, this is something that has intrigued me for some time, mung

Re: HTML::Parser

2003-08-04 Thread Dave Cross
From: Andy Williams \(IMAP HILLWAY\) [EMAIL PROTECTED] Date: 8/4/03 1:16:52 PM Hi, I need to parse an HTML file [0] and pull out all the form elements and put them into a data structure. What I can't seem to do is when I have found a select tag is then parse the associated option tags!

Re: HTML::Parser

2003-08-04 Thread Robin Berjon
Andy Williams (IMAP HILLWAY) wrote: I need to parse an HTML file [0] and pull out all the form elements and put them into a data structure. What I can't seem to do is when I have found a select tag is then parse the associated option tags! When you see the start select, you set a flag to say

Re: HTML::Parser

2003-08-04 Thread Shevek
On Mon, 4 Aug 2003, Andy Williams (IMAP HILLWAY) wrote: I need to parse an HTML file [0] and pull out all the form elements and put them into a data structure. What I can't seem to do is when I have found a select tag is then parse the associated option tags! Try HTML::PullParser. The

RE: HTML::Parser

2003-08-04 Thread Andy Williams \(IMAP HILLWAY\)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cross Sent: 04 August 2003 14:34 To: [EMAIL PROTECTED] Subject: Re: HTML::Parser Well firstly, you're using the very old (and nasty) HTML::Parser syntax. It all got a lot nicer (and easier

Re: HTML::Parser

2003-08-04 Thread Sam Vilain
I need to parse an HTML file [0] and pull out all the form elements and put them into a data structure. What I can't seem to do is when I have found a select tag is then parse the associated option tags! If you're getting valid xhtml: use XML::Sablotron::DOM; my $situa = new

RE: HTML::Parser

2003-08-04 Thread Andy Williams \(IMAP HILLWAY\)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cross Sent: 04 August 2003 14:34 To: [EMAIL PROTECTED] Subject: Re: HTML::Parser And secondly, if you're trying to build a tree based on the HTML elements, then you might be far better off

Re: HTML::Parser

2003-08-04 Thread Dave Cross
From: Andy Williams \(IMAP HILLWAY\) [EMAIL PROTECTED] Date: 8/4/03 2:49:12 PM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cross Sent: 04 August 2003 14:34 To: [EMAIL PROTECTED] Subject: Re: HTML::Parser And secondly, if you're trying

RE: HTML::Parser

2003-08-04 Thread Andy Williams \(IMAP HILLWAY\)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Cross Sent: 04 August 2003 16:06 To: [EMAIL PROTECTED] Subject: Re: HTML::Parser Whilst Data Munging with Perl is, of course, a fine book, in this case you'll be better off with Sean

Re: HTML::Parser

2003-08-04 Thread Rhys Hopkins
Whilst Data Munging with Perl is, of course, a fine book, in With a fine title. Following the recent discussion on the pronunciation of regex / regexp, this is something that has intrigued me for some time, mung - ing as in mung beans, or munj - ing as in sponge ? Put another way do you mung,

Re: HTML::Parser

2003-08-04 Thread Nigel Rantor
Put another way do you mung, or munge the data ? Ah, at last a question I care about. It is of course mung.* N * For all values of mung where mung is mung** ** Oh, thats pronounced mung by the way*** *** Oh, okay, as in munge[0][1] [0] Hmm, different footnote syntax than I normally use.

Re: HTML::Parser

2003-08-04 Thread Joel Bernstein
On Mon, Aug 04, 2003 at 05:08:39PM +0100, Rhys Hopkins wrote: Whilst Data Munging with Perl is, of course, a fine book, in With a fine title. Following the recent discussion on the pronunciation of regex / regexp, this is something that has intrigued me for some time, mung - ing as

Re: HTML::Parser

2003-08-04 Thread Simon Wilcox
On Mon, 4 Aug 2003, Rhys Hopkins wrote: Following the recent discussion on the pronunciation of regex / regexp, this is something that has intrigued me for some time, mung - ing as in mung beans, or munj - ing as in sponge ? Put another way do you mung, or munge the data ? Surely from

Re: HTML::Parser

2003-08-04 Thread Elaine -HFB- Ashton
Rhys Hopkins [EMAIL PROTECTED] quoth: * *Put another way do you mung, or munge the data ? mung is a fun word in American English :) The dictionary of american regional english defines it as mang or mung 1. 1884 Amer. Philol. Accos. Trans. for 1183 14.51 WV, Man means in West. Virginia the

Re: HTML::Parser

2003-08-04 Thread Dave Cross
On Mon, Aug 04, 2003 at 05:08:39PM +0100, Rhys Hopkins ([EMAIL PROTECTED]) wrote: Whilst Data Munging with Perl is, of course, a fine book, in With a fine title. Following the recent discussion on the pronunciation of regex / regexp, this is something that has intrigued me for some