cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: perl libcurl using CURLOPT_QUOTE

From: Cris Bailiff <c.bailiff+curl_at_devsecure.com>
Date: Fri, 8 Aug 2003 20:32:37 +1000

On Fri, 8 Aug 2003 06:00 pm, Daniel Stenberg wrote:
> On Thu, 7 Aug 2003, Miguel Laborde wrote:
> > I'm having trouble finding the matching perl command for the equivalent
> > of curl_slist_append as in C. I just want to create a list of commands
> > for my ftp connection that will be run before any transfers.
>
> Reading the Curl.xs, I *think* you pass in a perl-array to the
> CURLOPT_QUOTE option and it'll do the correct magic.

Daniel is correct, of course. Where-ever libcurl would take a curl_slist, you
should pass a perl array to WWW::Curl::easy.

Cris

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-08