in reply to How to read from an URL ?
This means you can do
Also, you can use lynx for the same purpose (this is good because it has some options to remove tags, in case you want).open MYHANDLE, "GET http://www.perlmonks.com|"; while(<MYHANDLE>) { print $_; }
but, of course, use LWP. If you don't know where to start, look into LWP::Simple.open MYHANDLE, "lynx -dump http://www.perlmonks.com|"; while(<MYHANDLE>) { print $_; }
Alberto Simões
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to read from an URL ?
by Ben Win Lue (Friar) on Apr 02, 2005 at 06:29 UTC | |
|
Re^2: How to read from an URL ?
by Anonymous Monk on Apr 01, 2005 at 06:01 UTC |