そして通常は以下のようにして使います: $ua = LWP::UserAgent->new; $response = $ua->request($request); 説明¶ HTTP::Request is a class encapsulating HTTP style requests, consisting of a request line, some headers, and a content body. Note that the LWP library uses HTTP style requests even for non-HTTP protocols. Instances of this class are usually passed to the request() method of an LWP::UserAgent object. HTTP::Request