my $WWWAgent = new LWP::UserAgent(); my $site=new URI::URL 'http://translate/lhsl.com/greenacres.dll?text=$text&pair=$pair&domain=$domain&interface=$interface'; # Create a request my $WWWRequest = new HTTP::Request 'GET',$site->as_string(); # Pass request to the user agent and get a response back my $WWWResult = $WWWAgent->request($WWWRequest);