Making Your Own
     CPAN
           brian d foy
    brian@stonehenge.com
   May 16, 2009 • YAPC::Russia
CPAN
CPAN
 CPAN
CPAN
CPAN::Mini
CPAN::Mini


  Local
CPAN::Mini

CPAN::Mini::Inject



      Local
modules/02packages.details.txt.gz




                            G/GA/GAAS/HTML-Parser-3.60.tar.gz
                      ...
HTML::Parser > 3.55 == :(
backpan.perl.org
backpan.perl.org
       :)
       :)
       :)
       :)
       :(

       :(
dpan
#!/usr/local/bin/perl
# dpan

use MyCPAN::App::DPAN;

MyCPAN::App::DPAN->run( @ARGV );
.yaml




      MyCPAN::Indexer

.pm                             .yaml
--- !!perl/hash:MyCPAN::App::DPAN::Indexer
       dist_info:
         dist_archive_type: tgz
          module_info:
      ...
yaml



yaml
       CPAN::PackageDetails


yaml
                         02packages.details.txt.gz




yaml
References

• MyCPAN::Indexer
• MyCPAN::App::DPAN
• BackPAN Archeology (http://yapc.tv/
  2008/ye/brian-backpan/)
• http:/...
Making Your Own CPAN
Making Your Own CPAN
Making Your Own CPAN
Making Your Own CPAN
Upcoming SlideShare
Loading in...5
×

Making Your Own CPAN

1,275

Published on

YAPC Russia 2009 "May Perl 2"

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

Making Your Own CPAN

  1. 1. Making Your Own CPAN brian d foy brian@stonehenge.com May 16, 2009 • YAPC::Russia
  2. 2. CPAN
  3. 3. CPAN CPAN
  4. 4. CPAN
  5. 5. CPAN::Mini
  6. 6. CPAN::Mini Local
  7. 7. CPAN::Mini CPAN::Mini::Inject Local
  8. 8. modules/02packages.details.txt.gz G/GA/GAAS/HTML-Parser-3.60.tar.gz 2 1 CPAN.pm HTML::Parser? CPANPLUS 3 CPAN authors/id/G/GA/GAAS/HTML-Parser-3.60.tar.gz
  9. 9. HTML::Parser > 3.55 == :(
  10. 10. backpan.perl.org
  11. 11. backpan.perl.org :) :) :) :) :( :(
  12. 12. dpan
  13. 13. #!/usr/local/bin/perl # dpan use MyCPAN::App::DPAN; MyCPAN::App::DPAN->run( @ARGV );
  14. 14. .yaml MyCPAN::Indexer .pm .yaml
  15. 15. --- !!perl/hash:MyCPAN::App::DPAN::Indexer dist_info: dist_archive_type: tgz module_info: - bytesize: 3547 file_mime_type: text/plain md5: e23b82c35130ad2d56ce8bc2a13accc8 mtime: 1197166594 name: lib/SimpleLinkChecker.pm packages: yaml - HTTP::SimpleLinkChecker primary_package: HTTP::SimpleLinkChecker version_info: filename: lib/SimpleLinkChecker.pm identifier: VERSION line_number: 19 sigil: $ value: 1.15 modules: - lib/SimpleLinkChecker.pm
  16. 16. yaml yaml CPAN::PackageDetails yaml 02packages.details.txt.gz yaml
  17. 17. References • MyCPAN::Indexer • MyCPAN::App::DPAN • BackPAN Archeology (http://yapc.tv/ 2008/ye/brian-backpan/) • http://www252.pair.com/comdog/
  1. A particular slide catching your eye?

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

×