in reply to Unwanted output to STDOUT in WWW::Curl::new

I can sympathize with your problem. I spent hours toying around with all those CURLOPTs. A thing you might try, is find one of the sample scripts (either in C or PhP) that does what you want, and see what it does. Somethings you might try:
$curl->setopt(CURLOPT_VERBOSE, 0); $curl->setopt(CURLOPT_MUTE, 1); $curl->setopt(CURLOPT_HEADER, 0);
P.S. LWP is alot easier to use. :-)

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Unwanted output to STDOUT in WWW::Curl::new
by snookmz (Beadle) on Mar 14, 2005 at 21:44 UTC
    Thanks for your input. Certainly a good idea to have a look at working examples in other languages. I'll also take a look at LWP, and see if I can accomplish the same task with it.

    Thanks for your reply zentara :)

    Update:
    After much wrestling with WWW::Curl::new and it's , in my opinion, difficult and unclear documentation, I have finally taken zentra's sterling advice and used LWP instead. Specifically LWP::UserAgent. What a big difference! Much easier to use, the documentation is clear, complete and gives an overview of everything that's happening.

    Thanks again zentra :)