++ed by:
KEEDI FVOX BESSARABV SYP

4 PAUSE users
7 non-PAUSE users.

Станислав Пусеп
and 15 contributors

Curl::Transport

This module shows:

buildtime version check

Required features will be missing if libcurl was too old at Net::Curl compilation.

basic inheritance

Use Net::Curl::* as base for your modules.

exception handling

Most methods die() with a dualvar exception on error. You can compare them numerically, or display as part of a message.

Motivation

recv() and send() methods use non-blocking transfer, this may be very annoying in simple scripts. This wrapper implements blocking send() wrapper, and two recv() wrappers called read() and readline().

MODULE CODE

TEST APPLICATION

Sample application using this module could look like this:

        #!perl
        use strict;
        use warnings;
        use Curl::Transport;
#nopod