proxy server using perl

I want to write a perl script on a server to behave like a proxy server.
I want to be able to enter the hostname and port on firefox proxy settings (or IE, chrome, whatever) and then go to a site, and have my webserver forward the request to another server, and forward the response back to the client. Is there a perl script/PM that can do this?

I dont want to use HTTP::Proxy, since i'm facing problem in installing it. Also ppm doesnt have HTTP::Proxy listed.

There are lots of Perl web servers available on internet. Just google for it.

Again, You might need some modules as the basic requirements to use the web server.

Regarding PPM not listing HTTP::Proxy, you should check and update the repositories of PPM.

looks like you are suggesting perl based web server. My requirement is quite simple, just one perl script on server should act like a proxy server. I dont have permisssion to install any softwares in my server