curl-users
Perl interface 1.1.3
Date: Wed, 18 Apr 2001 12:33:20 +0200
Hi,
i just uploaded a new version of the perl interface for libcurl.
It can be fetched from http://koblenz-net.de/~horn/export/Curl-easy-1.1.3.tgz
It contains some improvements regarding callback support. These have been
contributed by Cris Bailiff and Forrest Cahoon. Thanks! Function names
have also been changed: Curl::easy::curl_easy_setopt becomes Curl::easy::setopt
etc. This requires changing existing scripts but it makes them more readable
and saves a lot of typing for new scripts...
Cris, i left your version unchanged, besides a minor fix to make it
compile again with my perl 5.005_03: I changed the calls to call_sv()
into perl_call_sv(). I also added the README again and put a remark
about your changes into it.
Bye,
Georg
Here is Cris' original mail:
On Wed, Apr 18, 2001 at 04:47:26PM +1000, Cris Bailiff wrote:
> Georg, Daniel,
>
> Please find attached my integration into Georgs version 1.1.2. I have
> named it 1.1.3...
>
> The callback concept is based on Forrests strong desire to have the
> client pointer passed through to the perl callback. Though Georg didn't
> use any of Forrests or my previous work in 1.1.2, it ends up looking
> pretty similar, so it was straightforward to port my 1.0.3 into 1.1.3
> and keep all the ideas we discussed.
>
> Apart from improving the callback API, I've added some pod documentation
> and a number of test cases to test.pl
>
> I also fixed up some minor things which prevented 1.1.2 from compiling
> on my Mandrake 7.2 system with perl5.6.0 (warnings, XS macros etc).
>
> I haven't looked at an 'OO' wrapper or any of the other things we
> discussed yet.
>
> I don't have a good place to put the tarball for 'random downloading'
> just now - I'm happy if Georg rolls a new 1.1.3 or 1.1.4 from this
> tarball and puts it on his website, or for Daniel to check this in to
> the cURL CVS (which would make sense...)
>
> All feedback welcome...
>
> Cris Bailiff
> c.bailiff at awayweb.com
Received on 2001-04-18