Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?

by jeffa (Bishop)
on Aug 23, 2003 at 13:35 UTC ( [id://286050]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use XML::Twig;
    ...
    </td></tr></table>
    </body>
    </html>
    
  2. or download this
    use strict;
    use XML::XPath;
    ...
    my $xpath = XML::XPath->new(ioref => \*DATA);
    my $nodes = $xpath->find('//table[@border=0][@align="center"]');
    print XML::XPath::XMLParser::as_string($nodes->get_nodelist);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 18:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found