Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Looking for a module that strips an HTML tag and its associated 'TEXT'

by marto (Cardinal)
on Jul 29, 2020 at 13:27 UTC ( #11119966=note: print w/replies, xml ) Need Help??


in reply to Looking for a module that strips an HTML tag and its associated 'TEXT'

Sounds like you want Mojo::DOM, see Mojo::DOM parsing question, Calling sub-routine in regex, Super Search for more, or post some example data and what you want to get out of it.

  • Comment on Re: Looking for a module that strips an HTML tag and its associated 'TEXT'

Replies are listed 'Best First'.
Re^2: Looking for a module that strips an HTML tag and its associated 'TEXT'
by nysus (Parson) on Jul 29, 2020 at 13:31 UTC
      quite the dependency chain you added just for this.

        It turns out it doesn't even do what I need. And now I just tried https://metacpan.org/pod/HTML::Scrubber and it doesn't seem to work, either.

        $PM = "Perl Monk's";
        $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
        $nysus = $PM . ' ' . $MCF;
        Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2021-11-27 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?