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.  

-----Original Message-----
From: Gael PEGLIASCO [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 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, 'http://www.myurl.com'); or
open (FILE, 'https://www.myurl.com');

Do you know how I could do that ?

Thanks for your reply,

With kind regards,

Gael,
[EMAIL PROTECTED]

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

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

Reply via email to