SuccessInMind wrote: > > Hi, > > I am a little confused... > > When call the script directly from the browser like this: > > http://www.mydomain.com/cgi-bin/YForm.cgi?lastname=Charette&email > [EMAIL PROTECTED]&name=Normand& > > The script execute just fine. > > When I call it from a different script with my request (below) > with either the GET or POST and the $query_string containing the > same call as above I get a $response->content(); ERROR 500. > > my $request = new HTTP::Request 'GET', $query_string; > > What could be the problem? > > Both script works fine and no errors when running them into the > debug.
Good chance you need to escape the @ in the email address. Can't tell since you didn't figure it was necessary to supply any code. Next time create a small standalone failing test case that we can easily try. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users