Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by nysus (Parson)
on Jul 29, 2020 at 16:37 UTC ( #11120003=note: print w/replies, xml ) Need Help??


in reply to Re^13: Looking for a module that strips an HTML tag and its associated 'TEXT'
in thread Looking for a module that strips an HTML tag and its associated 'TEXT'

Correct, that is what I meant by "something simple." I thought I would be able to find an off-the-shelf and that I would have it implemented in about 2 min. I am surprised that it turned into a much longer, windier road.

A couple years back I got very familiar with something similar to Mojo::DOM, I think it was https://metacpan.org/pod/HTML::Element. Very useful. But I've forgotten almost all the fine details. This is probably another part of my reasoning comprehensive modules scare me off. But that said, I easily understand how to use Mojo::DOM as a result of learning HTML::Element. They are conceptually very similar.

At any rate, thanks for your help. Appreciate it.

$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

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2021-10-25 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?