I have to use the socket library as I cannot use CGI, LWP or any module like that.
In reply to How can i simulate a form post using sockets? by flappy