[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

does perl support secure http?



Hi,
	I am writing a perl script to fetch some info from a URL.
	But the protocol is HTTPS rather than HTTP.

	And perl does not seem to understand the following:

	$URL ="https://secure.url.com/";;
	@content = split(/\n/, get($URL));

	The error looks like following:

	Can't locate HTML/HeadParser.pm in @INC (@INC contains:
	/usr/lib/perl5/i386-linux/5.004 /usr/lib/perl5 /usr/local/lib/site_perl/i386-linux
	/usr/local/lib/site_perl .) at /usr/lib/perl5/LWP/Protocol.pm line 46, <GEN0> chunk
	6.  BEGIN failed--compilation aborted at
	/usr/lib/perl5/LWP/UserAgent.pm line 106, < GEN0> chunk 6.

	Will perl5 support secure http?

	Thanks.

Shao.
-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: