cURL / Mailing Lists / curl-library / Single Mail


Re: Curl Perl interface to C API

From: Daniel Stenberg <>
Date: Tue, 14 Aug 2007 12:31:44 +0200 (CEST)

On Mon, 13 Aug 2007, Antel wrote:

>>> I will be happy if its added to examples, I can modify it it Code is here:
>>> Desc: Perl script that communicate with c in
>>> order to send and to receive data using libcurl.
>> Well, yeah but this is perl code showing how to use embedded C. It doesn't
>> really belong amount the libcurl API examples, does it?
> It's useful script for who needs perfomance of C API and easy power of perl
> and his modules, but yes as you say it doesn't give much new to C API, it
> gives a new way of implementation, I can add more perl processing things
> like parsing a webpage using real world problems to solve, any ideas or hint
> are useful, thank for your time.

I appreciate the example and all, I'm just struggling to figure out where and
how to put it on the site.

The examples in the regular curl package are all examples on how to use the
libcurl API and I see your example not primarily showing how to use libcurl
but how to embed libcurl-using code into a perl program.

Maybe I'm just being silly, but I can see a difference and there's also the
little fact that we provide examples in plain C as of today and starting to
add examples for all the world's languages and environments seem like... not
suitable for the curl release tarball but instead meant to be put on a
suitable web page.

  Commercial curl and libcurl Technical Support:
Received on 2007-08-14