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

Re: Parsing a large html with perl

by Anonymous Monk
on Jun 03, 2020 at 13:25 UTC ( #11117646=note: print w/replies, xml ) Need Help??


in reply to Parsing a large html with perl

You need, at minimum, a HTML::Parser. But, if the HTML qualifies as XHTML, you might be able to use "XPath expressions" (XML::LibXML) to directly extract the portions of interest without writing any procedural code at all. Perl has many options ready-built for you ... consider all of them before writing code.

Replies are listed 'Best First'.
Re^2: Parsing a large html with perl
by Anonymous Monk on Jun 03, 2020 at 15:16 UTC
    More junk "advice" from someone who desperately wants to be seen as an expert. :eyeroll:
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2020-09-19 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (114 votes). Check out past polls.

    Notices?