Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How to get text from site?

by grondilu (Friar)
on Feb 12, 2013 at 12:25 UTC ( #1018346=note: print w/ replies, xml ) Need Help??


in reply to [SOLVED] How to get text from site?

If you want the text to be at least roughly formatted, you can use the '-dump' option of a text-only browser:

print qx{elinks -dump http://www.perl.org};

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-08-27 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (378 votes). Check out past polls.