#makes the new SOAP::Lite object my $soap_obj = new SOAP::Lite -> uri ('http://') -> proxy ('http://') -> service(); #gets the response and stores it in a scalar my $response = $soap_obj->get_response(); #creates the statement for the SQL insert my $statement = $bdbi->form_push_SQL ($response); #if bdbi is a database connection then it does $statement $bdbi->{'database_handle'}->Query($statement);