curl-library
Muting Curl
From: Emannuel Silva <emsilva_at_gmail.com>
Date: Wed, 12 Jan 2005 12:49:42 -0200
Date: Wed, 12 Jan 2005 12:49:42 -0200
Hi there,
Not sure if I am in the right place to ask this question, but as I
was unable to find a "perl-curl" mail list.
Everytime I exec my perl script file, its going to go verbose on me.
For example:
--- emsilva_at_spidey fetcher $ perl -w ch_parser.pl HTTP/1.1 100 Continue Server: Microsoft-IIS/5.0 Date: Wed, 12 Jan 2005 14:49:46 GMT HTTP/1.1 302 Object moved Server: Microsoft-IIS/5.0 Date: Wed, 12 Jan 2005 14:49:52 GMT Location: https://167.210.172.109/change/bin/files/wcls.asp Content-Length: 121 Content-Type: text/html Expires: Wed, 12 Jan 2005 14:48:46 GMT Set-Cookie: ASPSESSIONIDSSTDSRSA=GJHGBDJAFMEAEFHCIAIKHEHL; path=/ Cache-control: private HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Wed, 12 Jan 2005 14:49:53 GMT Content-Length: 713 Content-Type: text/html Expires: Wed, 12 Jan 2005 14:48:53 GMT Set-Cookie: CO%5FApplication=CO%5FActiveApplication=CH; expires=Mon, 18-Jan-2038 07:00:00 GMT; path=/hit Cache-control: private --- I want a clean output. How can I prevent curl from trowing all that to the output? I tried setting (CURLOPT_MUTE,1) but it did not work. Any ideas? Thank you.Received on 2005-01-12