Gael PEGLIASCO <[EMAIL PROTECTED]> said something to this effect on 
08/08/2001:
> Hello,
> 
> I'm looking for a way to open a http url, in order to retrieve
> parts of its content and display it in a cgi script.
> 
> I'd like to do things like :
> 
> open (FILE, 'http://www.myurl.com'); or
> open (FILE, 'https://www.myurl.com');
> 
> Do you know how I could do that ?

  use LWP::Simple;

  # get returns a string containing HTML
  my $data = get 'http://www.myurl.com';

(darren)

-- 
Pohl's law: Nothing is so good that somebody, somewhere, will not hate
it.

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

Reply via email to