On Tuesday 14 Jun 2011 11:26:53 brian d foy wrote:
> Authors Upload Server <upl...@pause.perl.org> wrote:
> > The following module was proposed for inclusion in the Module List:
> >
> >   modid:       HTML::Native
> >   DSLIP:       RdpOg
> >   description: HTML via native Perl data structures
> >   userid:      MCB (Michael Brown)
> >   chapterid:   15 (World_Wide_Web_HTML_HTTP_CGI)
> >   communities:
> 
> I don't think people will make the connection from HTML::Native to a
> Perl data structure. Perhaps you want something like ::AsHash or
> ::AsTree?

HTML::AsHash seems incorrect to me since this isn't specifically a hash.  
(Element contents are arrays, not hashes; element attributes can be accessed 
as either scalars, arrays or hashes.)

There's already an HTML::Tree (which provides a method-based interface), so 
HTML::AsTree would be confusing, I think.

Do you think HTML::Perl would be preferable to HTML::Native?

Michael

Reply via email to