LWP + libcurl
As simple as setting an environment variable!
Stanislaw Pusep - 2013
LWP
a.k.a. libwww-perl
LWP
a.k.a. libwww-perl
• Whipuptitude
LWP
a.k.a. libwww-perl
• Whipuptitude
• Very popular in the Perl community
LWP
a.k.a. libwww-perl
• Whipuptitude
• Very popular in the Perl community
• 1,691 CPAN modules depend on LWP!
LWP
a.k.a. libwww-perl
• Whipuptitude
• Very popular in the Perl community
• 1,691 CPAN modules depend on LWP!
• $ perl -M...
LWP
a.k.a. libwww-perl
• Whipuptitude
• Very popular in the Perl community
• 1,691 CPAN modules depend on LWP!
• $ perl -M...
libcurl
libcurl
• Manipulexity
libcurl
• Manipulexity
• Dozens of protocols supported out-of-box!
libcurl
• Manipulexity
• Dozens of protocols supported out-of-box!
• Very popular outside of the Perl
community
libcurl
• Manipulexity
• Dozens of protocols supported out-of-box!
• Very popular outside of the Perl
community
• Many opt...
libcurl
• Manipulexity
• Dozens of protocols supported out-of-box!
• Very popular outside of the Perl
community
• Many opt...
cpanm LWP::Protocol::Net::Curl
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
• No black magic!
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
• No black magic!
• Except...
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
• No black magic!
• Except...
• PERL5OPT=-MLWP::Protocol::N...
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
• No black magic!
• Except...
• PERL5OPT=-MLWP::Protocol::N...
cpanm LWP::Protocol::Net::Curl
• use LWP::Protocol::Net::Curl;
• No black magic!
• Except...
• PERL5OPT=-MLWP::Protocol::N...
Thank you!
• cpan.me/LWP::Protocol::Net::Curl
• github.com/creaktive
Upcoming SlideShare
Loading in...5
×

LWP + libcurl

1,713

Published on

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

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,713
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

LWP + libcurl

  1. 1. LWP + libcurl As simple as setting an environment variable! Stanislaw Pusep - 2013
  2. 2. LWP a.k.a. libwww-perl
  3. 3. LWP a.k.a. libwww-perl • Whipuptitude
  4. 4. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community
  5. 5. LWP a.k.a. libwww-perl • Whipuptitude • Very popular in the Perl community • 1,691 CPAN modules depend on LWP!
  6. 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. 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. 8. libcurl
  9. 9. libcurl • Manipulexity
  10. 10. libcurl • Manipulexity • Dozens of protocols supported out-of-box!
  11. 11. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community
  12. 12. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community • Many options!
  13. 13. libcurl • Manipulexity • Dozens of protocols supported out-of-box! • Very popular outside of the Perl community • Many options! • Too many options :(
  14. 14. cpanm LWP::Protocol::Net::Curl
  15. 15. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl;
  16. 16. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic!
  17. 17. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except...
  18. 18. cpanm LWP::Protocol::Net::Curl • use LWP::Protocol::Net::Curl; • No black magic! • Except... • PERL5OPT=-MLWP::Protocol::Net::Curl ...
  19. 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. 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. 21. Thank you! • cpan.me/LWP::Protocol::Net::Curl • github.com/creaktive
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×