Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Preserving newlines with Web::Scraper

by nysus (Parson)
on Dec 25, 2018 at 11:12 UTC ( [id://1227690]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <p class="myClass">Blah
    
    ...
    
    Blah
    </p>
    
  2. or download this
    
          process '//p[contains(@class, "myClass")]', 'paragraph' => 'TEXT
    +',
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-16 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found