Using POST and receiving password verification

Linda Nettleton A211 (nettleto@fsl.noaa.gov)
Wed, 31 Jan 1996 10:36:20 -0700 (MST)


Folks,

	I was successfully using a POST command in libwww-perl-0.40
to send a line command to a WWW Server CGI.  I wanted a way to add password
verification and it was recommended that I upgrade to libwww-perl-0.5b6.

	However, I can find no examples of using the POST command
to a CGI and have no models for INC and BEGIN phrases that would
successfull respond to the POST.  Using the CGI I currently have
which uses the phrase...

push(@INC,"/usr/local/WWW/Server/cgi-bin");
require "cgi-lib.pl";

to reference cgi libraries to parse the command nows returns an 
HTML containing the error...

Can't locate auto/Socket/sockaddr_in.al in @INC

	Obviously I have been dropped in the quick sand of perl5
land without sufficient examples of what is required to get the
working parts to talk to one another.  I suspect I need to reference
LWP::Parse in place of the cgi-lib.pl routines, but right now
without a cohesive explanation of the differences between perl4
and perl5, or cookbook examples, I am unsure how to get the 
documentation and information I need.  

	Suggestions?

	Linda Nettleton

	
------------------------------------------------------------------
Linda Nettleton                       E-mail: nettleto@fsl.noaa.gov
Forecast Systems Laboratory           Fax:    303-497-7259
U.S. Department of Commerce           Phone:  303-497-7242
325 Broadway                          Mail Code: R/E/FS2
Boulder, CO 80303-3328
------------------------------------------------------------------