LWP + libcurl
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

LWP + libcurl

on

  • 1,873 views

LWP::Protocol::Net::Curl: getting the best of the both worlds; available now in a CPAN mirror near you!

LWP::Protocol::Net::Curl: getting the best of the both worlds; available now in a CPAN mirror near you!

Statistics

Views

Total Views
1,873
Views on SlideShare
1,795
Embed Views
78

Actions

Likes
0
Downloads
5
Comments
0

1 Embed 78

https://twitter.com 78

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

LWP + libcurl Presentation Transcript

  • 1. LWP + libcurl As simple as setting an environment variable! Stanislaw Pusep - 2013
  • 2. LWP a.k.a. libwww-perl
  • 3. LWP a.k.a. libwww-perl • Whipuptitude
  • 4. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community
  • 5. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community • 1,691 CPAN modules depend on LWP!
  • 6. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community • 1,691 CPAN modules depend on LWP! • $ perl -MLWP::Simple -E 'get("https://metacpan.org");say~~keys%INC'
  • 7. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community • 1,691 CPAN modules depend on LWP! • $ perl -MLWP::Simple -E 'get("https://metacpan.org");say~~keys%INC' • Loads 122 modules at runtime :(
  • 8. libcurl
  • 9. libcurl • Manipulexity
  • 10. libcurl • Manipulexity • Dozens of protocols supported out-of-box!
  • 11. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community
  • 12. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community • Many options!
  • 13. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community • Many options! • Too many options :(
  • 14. cpanm LWP::Protocol::Net::Curl
  • 15. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl;
  • 16. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic!
  • 17. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except...
  • 18. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except... • PERL5OPT=-MLWP::Protocol::Net::Curl ...
  • 19. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except... • PERL5OPT=-MLWP::Protocol::Net::Curl ... • PERL5OPT=-MLWP::Protocol::Net::Curl=verbose,0 ...
  • 20. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except... • PERL5OPT=-MLWP::Protocol::Net::Curl ... • PERL5OPT=-MLWP::Protocol::Net::Curl=verbose,0 ... • This way, passes LWP & WWW::Mechanize tests!
  • 21. Thank you! • cpan.me/LWP::Protocol::Net::Curl • github.com/creaktive