cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl (perl) avoid any output

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 9 Nov 2007 18:13:52 -0800

On Sat, Nov 10, 2007 at 02:35:30AM +0100, Robert Meissner wrote:
> Finally my script [1] is working fine. How am i supposed to avoid
> any output of this script (verbose mode is now off)? I don't want
> to see any data on the screen whatsoever.

Set up a dummy write callback handler (CURLOPT_WRITEFUNCTION) that throws
away the data, or, if the perl binding supports it, a dummy file object
to CURLOPT_WRITEDATA.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-11-10