in reply to Re: Cannot suppress Curl headers
in thread Cannot suppress Curl headers

Regrettably, those don't work. 1) use strict complains about those options. 2) I get 'use of uninitialized value in open' errors for opening the two filehandles. 3) $response_data comes back empty.

Replies are listed 'Best First'.
Re^3: Cannot suppress Curl headers
by pc88mxer (Vicar) on May 29, 2008 at 20:13 UTC
    What version of libcurl and WWW::Curl are you using? My test script works fine with use strict.

    Also, check your WWW::Curl documentation. I just installed the latest version, and that's where I got the idea about setting CURLOPT_WRITEDATA, etc.

      Client server on which I'm trying to do this is running WWW::Curl v3.12, and cannot upgrade to the latest version due to C incompatibilities.