2010-02-15 03:40:18 +08:00
|
|
|
_ _ ____ _
|
|
|
|
___| | | | _ \| |
|
|
|
|
/ __| | | | |_) | |
|
|
|
|
| (__| |_| | _ <| |___
|
2001-03-16 21:34:08 +08:00
|
|
|
\___|\___/|_| \_\_____|
|
1999-12-29 22:20:26 +08:00
|
|
|
|
2001-03-16 21:34:08 +08:00
|
|
|
Perl
|
1999-12-29 22:20:26 +08:00
|
|
|
|
2001-03-16 21:35:11 +08:00
|
|
|
Perl's a great script language, not the least for quick prototyping. Curl is
|
|
|
|
elegantly used from within it. You can either invoke external curl command
|
|
|
|
line or use the curl interface.
|
|
|
|
|
2001-12-07 17:24:42 +08:00
|
|
|
The latest release of Curl_easy, a Perl interface to curl is available from
|
|
|
|
|
|
|
|
http://curl.haxx.se/libcurl/perl/
|
|
|
|
|
|
|
|
(Georg Horn's original version of Curl_easy, supporting curl versions
|
|
|
|
before 7.7 is still available from: http://www.koblenz-net.de/~horn/export/ )
|
|
|
|
|
|
|
|
Using the Curl::easy module is just straightforward and
|
2001-03-29 14:43:46 +08:00
|
|
|
works much like using libcurl in a C programm, so please refer to the
|
|
|
|
documentation of libcurl. Have a look at test.pl to get an idea of how
|
|
|
|
to start.
|
1999-12-29 22:20:26 +08:00
|
|
|
|