Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Plient 0.02

    Download button

    No screenshots available
    Downloads: 89  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    sunnavy | More programs
    Perl Artistic License / FREE
    November 22nd, 2011, 22:45 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Plient description

    The uniform way to use curl, wget, LWP, HTTP::Lite, etc

    Plient is a Perl wrapper to clients like curl, wget, LWP and HTTP::Lite, aiming to supply a uniform way for users.

    It's intended to use in situations where you don't want to bind your applications to one specific client. e.g. forcing users to install curl even when some of them already have wget installed.

    Plient will try its best to use clients available.

    Plient is a very young project, only a subset of HTTP functionality is implemented currently.

    SYNOPSIS

     use Plient qw/plient plient_support/;
     my $content = plient( 'get', 'http://cpan.org' ); # get http://cpan.org

     if ( plient_support( 'http', 'post' ) ) {
     my $content = plient(
     'post',
     'http://foo.com',
     {
     body => {
     title => 'foo',
     body => 'bar',
     }
     }
     );
     }


    # or if ( my $http_post = plient_support( 'http', 'post' ) ) { my $content = $http_post->( 'http://foo.com', { body => { title => 'foo', body => 'bar', } } ); }


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    wget wrapper | LWP wrapper | HTTP::Lite wrapper | Perl | wget | LWP

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM