--- Jeff <[EMAIL PROTECTED]> wrote:
> Anyone know of a unix equivalent to win 32 function Win32::Internet
> 
> Trying to capture a web page as a string i.e.
> 
>  $INET = new Win32::Internet();
>  $file = $INET->FetchURL("http://www.yahoo.com";;);
> 
> Thanks,
> 
> Jeff

Assuming that you want just the text of a Web page (I don't know the 
Win32::Internet::FetchURL
method):

    use LWP::Simple;
    my $file = get( $url );

Cheers,
Curtis "Ovid" Poe

=====
"Ovid" on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to