Re: How to open a http or https url, as if it was a file

2001-08-08 Thread Curtis Poe
--- Gael PEGLIASCO <[EMAIL PROTECTED]> wrote: > 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'); >

Re: How to open a http or https url, as if it was a file

2001-08-08 Thread darren chamberlain
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

Re: How to open a http or https url, as if it was a file

2001-08-08 Thread Gael PEGLIASCO
Mel Matsuoka wrote: > Use the LWP::Simple module. Thanks, I'm going to try this module. Do you know WebFs::FileCopy ? http://search.cpan.org/doc/BZAJAC/WebFS-FileCopy-1.04/lib/WebFS/FileCopy.pm With kind regards, Gael, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: How to open a http or https url, as if it was a file

2001-08-08 Thread Gael PEGLIASCO
Camilo Gonzalez wrote: > > Why not open the file itself? In other words, try: > open (FILE, 'somefile.html') or die "Can't open HTML document $!"; This is not possible because the file I want to open is located on another web server. For example, opening a file located by an url can be usefull t

RE: How to open a http or https url, as if it was a file

2001-08-08 Thread Mel Matsuoka
At 08:22 AM 08/08/2001 -0500, Camilo Gonzalez wrote: >Why not open the file itself? In other words, try: > >open (FILE, 'somefile.html') or die "Can't open HTML document $!"; > >I don't think you can open and search an entire site. I'm sure the O.P. wants to "include" the content of external we

RE: How to open a http or https url, as if it was a file

2001-08-08 Thread Camilo Gonzalez
ay, August 08, 2001 8:15 AM To: [EMAIL PROTECTED] Subject: How to open a http or https url, as if it was a file 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, '

Re: How to open a http or https url, as if it was a file

2001-08-08 Thread Mel Matsuoka
At 03:14 PM 08/08/2001 +0200, Gael PEGLIASCO wrote: >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'); > >D

How to open a http or https url, as if it was a file

2001-08-08 Thread Gael PEGLIASCO
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 ? Thanks for your reply, With