D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Perl and remote files



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How do I open a remote HTTP file using Perl?

The ordinary open(HANDLE,"$file"); doesn't work ( -r $file ) reports unable to 
read.

I want to load a page from a separate server (actually execute a search and 
read the results using the query string using a URL from a bookmark) and read 
the file into the script for analysis. I can't open static pages at the 
moment, but I would expect that opening a dynamic page wouldn't differ once 
the process is done.

Anyone with ideas?

- -- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.wewantbroadband.co.uk/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+VqWriAEJSii8s+MRAhEEAJ9OlvHv2Hnzfoq2POluPgU5uf8teACgqpT+
mSzXZSS+VRLr/VSSowteUGM=
=8DK7
-----END PGP SIGNATURE-----


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly