flappy has asked for the wisdom of the Perl Monks concerning the following question:

I need to simulate a form post, i.e. exactly what a web browser does when you fill in a form and click the submit button.

I have to use the socket library as I cannot use CGI, LWP or any module like that.