Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-03-06 Thread Ron Savage
Hi Folks On Thu, 2009-03-05 at 13:55 -0500, Mark Stosberg wrote: Although looking at the bigger picture... How bad would it be to demand more compliant HTML from ValidateRM users? After all, it's a little bit like having use strict;. It's certainly a best practice to have valid XHTML,

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-26 Thread Ron Savage
Hi Mark On Wed, 2009-02-25 at 12:25 -0500, Mark Stosberg wrote: On Tue, 24 Feb 2009 16:35:36 +1100 Ron Savage r...@savage.net.au wrote: Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. This is great! $many x

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-26 Thread Ron Savage
Hi Mark Also, in case you missed it on 'use Perl', mir is going to work on HTML::Parser::Simple::XPath, based on XML::XPathEngine. Synergy++. Also, the next version (unreleased) has an xhtml = 0|1 param to new() to activate a little bit of support for XHTML. From the POD: Warning: XHTML is not

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-26 Thread Lyle
Ron Savage wrote: Any other advice people have on supporting XHTML will be gratefully received. Lots of real pages will declare XHTML but use HTML4 tags and vice versa... I know that's not very helpful but I thought I'd mention it :/ Although looking at the bigger picture... How bad

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-24 Thread Ron Savage
Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. -- Ron Savage r...@savage.net.au http://savage.net.au/index.html # CGI::Application community mailing list ##

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-24 Thread Lyle
Ron Savage wrote: Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. Good stuff :) Although after looking through the pod I can't see immediately how to make changes to the html? Maybe a short example with a change, such

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-24 Thread Ron Savage
Hi Lyle On Tue, 2009-02-24 at 16:12 +, Lyle wrote: Ron Savage wrote: Hi Folks Uploaded HTML::Parser::Simple to CPAN. See the FAQ for why the name HTML::Parser::PurePerl was not used. Good stuff :) Although after looking through the pod I can't see immediately how to

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-19 Thread Ron Savage
Hi Mark On Thu, 2009-02-19 at 11:40 -0500, Mark Stosberg wrote: On Thu, 19 Feb 2009 13:54:44 +1100 Ron Savage r...@savage.net.au wrote: Hi Folks OK. I've got this going, but it just reads and writes files. I'm thinking of storing the tags in a tree, thereby allowing a visit()

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-19 Thread Lyle
Hi Ron, Ron Savage wrote: Tree, for example, uses Scalar::Util, which uses List::Util, which uses XS. I've drawn similar wrong conclusions several times before. List::Util drops back to Pure Perl if XS is not available. From Util.pm:- # This code is only compiled if the XS did not load

Re: [cgiapp] Re: [OT] HTML::Parser::PurePerl

2009-02-19 Thread Ron Savage
Hi Lyle On Fri, 2009-02-20 at 00:07 +, Lyle wrote: Hi Ron, Ron Savage wrote: Tree, for example, uses Scalar::Util, which uses List::Util, which uses XS. I've drawn similar wrong conclusions several times before. List::Util drops back to Pure Perl if XS is not available.