use the LWP Module, it comes with the ActiveState Distribution.
Unfortunately we won't be able to give you a detailed answer, unless you ask a detailed question.
For Information on how to use the module and other Documentation have a look at c:\perl\html\index.html.