Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: remove html comments using HTML::HTML5::ToText

by tobyink (Abbot)
on Jun 14, 2013 at 13:10 UTC ( #1038966=note: print w/replies, xml ) Need Help??

in reply to remove html comments using HTML::HTML5::ToText

It looks like there's still a $node->isa("XML::LibXML::Text") check that should be replaced with $node->nodeName eq "#text".

HTML::HTML5::ToText 0.004 should be on a CPAN mirror near you some time in the next few hours with a fix.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Replies are listed 'Best First'.
Re^2: remove html comments using HTML::HTML5::ToText
by mendeepak (Scribe) on Jun 17, 2013 at 05:40 UTC

    Thanks Works Fine now ...


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038966]
vrk takes a cookie from the platter on the sideboard.
Eily thinks vrk is a cookie monster
talexb thinks the term 'cookie monster' is unnecessarily drogatory ;) and takes a cookie as well. Mmmm. Delicious cookies.
[davido]: A tool as pretentious as Test::Perl::Critic ought not fail to install because one of its dependencies failed to pull in List::MoreUtils.
[davido]: ...and

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-04-25 16:00 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (458 votes). Check out past polls.