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

Re: Get HTML content

by PerlSufi (Friar)
on Aug 01, 2013 at 21:23 UTC ( #1047502=note: print w/ replies, xml ) Need Help??


in reply to Get HTML content

Look into the modules kennethk recommended. I also like to use WWW::Mechanize. The  $mech->dump_text; or  print $mech->$content; approaches may work for you. The first method displays all of the text on the page, the second displays all of the HTML content of the page- including HTML elements.


Comment on Re: Get HTML content
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-04-25 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (480 votes), past polls