Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Which one is the better Regex?

by IlyaM (Parson)
on Feb 27, 2003 at 15:25 UTC ( #239119=note: print w/ replies, xml ) Need Help??


in reply to Re: Which one is the better Regex?
in thread Which one is the better Regex?

/me suggests another alternative solution

use XML::LibXML; use FileHandle; my $parser = XML::LibXML->new; my $doc = $parser->parse_html_fh( \*DATA ); print $doc->findvalue('//title'); __DATA__ <html> <head> <title>Nothing to see here</title> </head> </html>
XML::LibXML and XPath rocks!

--
Ilya Martynov, ilya@iponweb.net
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org


Comment on Re: Re: Which one is the better Regex?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2015-07-29 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls