in reply to Proxy using Perl

That looks like it should work. Whats is the error message you receive?

Frank Wiles <frank@revsys.com>
www.revsys.com

Replies are listed 'Best First'.
Re^2: Proxy using Perl
by sparcker (Initiate) on Sep 05, 2007 at 01:26 UTC
    you're actually requesting the URL twice in your code for every request to the page, replace the $request line into this: my $request = new HTTP::Request; The rest seems to work. Oh yeah, notice the 'my'. try using strict mode when programming cgi's glenn