500 EOF instead of reponse status line in perl script
Hi
I am getting the following error ..when executing the perl script.... 500 EOF instead of reponse status line I am using LPW:userAgent to send a request... What could be the problem... Regards |
When executing WHICH perl script?
|
Quote:
Its a script i wrote ...and i make use of userAgent in it... I send the request but it throws... but for certain requests...it works fine.. Regards |
500 - Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server. your script is not well formed maybe are we supposed to guess on the information supplied? |
Quote:
I believe it was probabaly because of connection time-out.. because the scrip that was called at the other end worked fine.. whereas ..only the response didnt come thru... |
it may have worked but I bet it didn't work fine.
have you checked for perl warnings/errors? post |
Quote:
perl filename Only this message came 500.....etc regards |
Please post a minimal version of the script which demonstrates the error.
Also ensure you use -w switch and strict eg #!/usr/bin/perl -w use strict; <rest of perl script> Please show exact error msgs |
All times are GMT -5. The time now is 01:38 PM. |