Software Alternatives & Reviews

Perling and Curling

Perl cURL
  1. 1
    Highly capable, feature-rich programming language with over 26 years of development
    Use Net::Curl::Easier; Use Net::Curl::Promiser::Mojo; Use Mojo::Promise; My $easy1 = Net::Curl::Easier->new( url => 'http://perl.org', followlocation => 1, ); My $easy2 = Net::Curl::Easier->new( username => 'hal', userpwd => 'itsasecret', url => 'imap://mail.example.com/INBOX/;UID=123', ); My $easy3 = Net::Curl::Easier->new( username => 'hal', userpwd => 'itsasecret', url => 'scp://tty.example.com/path/to/file', ); My $promiser = Net::Curl::Promiser::Mojo->new(); Mojo::Promise->all_settled( $promiser->add_handle($easy1)->then( sub { print $easy1->head(), $easy1->body(); } ), $promiser->add_handle($easy2)->then( sub { # ... Whatever you want with the IMAP result } ), $promiser->add_handle($easy3)->then( sub { # ... Whatever you want with the SCP result } ), )->wait();.

    #Programming Language #OOP #Generic Programming Language 5 social mentions

  2. 2
    cURL is a computer software project providing a library and command-line tool for transferring data...
    Pricing:
    • Open Source
    Most of us probably know curl as a quick and easy way to send HTTP requests from the command line.

    #API Tools #APIs #Developer Tools 105 social mentions

Discuss: Perling and Curling

Log in or Post with