Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Parsing HTML/XML with Regular Expressions

by haukex (Archbishop)
on Oct 16, 2017 at 11:48 UTC ( [id://1201438]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    ...
    ]]></p>
    </body>
    </html>
    
  2. or download this
    use warnings;
    use strict;
    ...
    $out eq "Zero=, One=Monday, Two=Tuesday, Three=Wednesday, "
        ."Four=Thursday, Five=Friday, Six=Saturday, Seven=Sunday"
        ? print "Good!\n" : die "BAD!\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1201438]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-18 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found