To add yet more fuel to the brightly burning
IO::Socket fire, i would also like to make a suggestion.
Don't just use
IO::Socket, go one step further and create your own module to do the
IO::Socket communications with the server. This way, when you move from a
CGI client, to a
Win32::GUI client (or what ever), all of the client/server connection and interaction code will be reusable. Not to mention if you want to add new functionallity to your server.
This is good OOP, good Abstraction, good sence... i think.
i had a memory leak once, and it ruined my favorite shirt.