Re: use of HTML::Parser, HTML::FormatText

2002-04-05 Thread drieux
On Thursday, April 4, 2002, at 11:46 , M z wrote: [..] > $tree = HTML::Tree->new(); > $tree->parse_file(); > print X1 "$tree\n"; [..] Wow - had not even thought about doing the 'open' by hand. I had merely taken a list of files from the command line and let the 'tree' open and parse them. I'd

Re: use of HTML::Parser, HTML::FormatText

2002-04-04 Thread M z
drieux I don't think I'm using this right...can you help when I tried this little snippet on a basic html page #!C:/perl/bin -w use HTML::Tree; use HTML::Tagset; print "which one?: "; chomp($in = ); open(X, "<$in") || die "can't read this! ($!)"; open(X1, ">wow"); $tree = HTML::Tree->new()

Re: use of HTML::Parser, HTML::FormatText

2002-03-31 Thread drieux
On Sunday, March 31, 2002, at 11:50 , M z wrote: > hello, > > in conjunction, I was looking into this module HTML to > take out all the HTML I have in several files. > Namely, the data I want is between tags > data I would look at getting the HTML::TreeBuilder module - sounds like you need to g