cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl (perl) avoid any output

From: Robert Meissner <robert.meissner_at_informatik.tu-chemnitz.de>
Date: Sun, 11 Nov 2007 16:12:55 +0100

Hi Guenter!

> http://www.gknw.net/phpbb/viewtopic.php?t=380

Thanks a lot!

| open(FH, ">/dev/null");
| ...
| $curl->setopt(CURLOPT_FILE, *FH);
| $curl->setopt(CURLOPT_WRITEHEADER, *FH);
| ...
| close(FH);

It is working fine now. I have had problems because the constant
'CURLOPT_WRITEDATA' didn't work in WWW::Curl::Easy;

Kind regards,
Robert
Received on 2007-11-11