| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Help iterating through post data
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 13 May 2004 15:41:23 +0200 (CEST)
On Thu, 13 May 2004 mconnor_at_reisonline.com wrote:
> I need to rotate through the alphabet on the post data. I want to send
Using [] in the POST data will not create ranges the way you want to.
I would write it up using perl:
foreach $l1 ('a' .. 'z') {
Or if you prefer a one-liner:
map {$a=$_; map {$b=$_; map {$c=$_; map { system("curl yada?moo=$c$b$a$_");} \
I'm sure your favourite language also has a way of doing it.
--
Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-13
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info