On Sat, 26 Aug 2000, Rodney Broom wrote:
> OK, lots of banter...
>
> Hey V, if you are on a *NIX system, then this is a fast way:
>
> open U, "lynx -source www.some.url.dom |";
> $data = join '', <U>;
>
> There, you're finished. Admittedly, this isn't terribly efficiant, but it works
> just fine and has short devel time.
This one is much more efficient and requires even less coding:
use LWP::Simple;
$content = get("http://www.sn.no/")
And it doesn't require you to be on any particular OS, as far as I know.
see perldoc LWP::Simple and as advised by many others LWP::UserAgent for
more advanced uses.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com
http://singlesheaven.com http://perlmonth.com perl.org apache.org