| 1 | package OrePAN2; | ||
| 2 | 14 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 14 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 14 | our $VERSION = "0.53"; | |
| 6 | |||
| 7 | 14 | 1; | |
| 8 | __END__ | ||
| 9 | |||
| 10 | =encoding utf-8 | ||
| 11 | |||
| 12 | =for stopwords DarkPAN orepan2-inject orepan2-indexer darkpan OrePAN1 OrePAN | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | OrePAN2 - Yet another DarkPAN manager. | ||
| 17 | |||
| 18 | =head1 DESCRIPTION | ||
| 19 | |||
| 20 | You can create your own Perl module archive with OrePAN2! | ||
| 21 | It's very simple and useful. | ||
| 22 | |||
| 23 | =over 4 | ||
| 24 | |||
| 25 | =item 1. Inject tarballs from git repo or archive file via orepan2-inject. | ||
| 26 | |||
| 27 | =item 2. Make 02packages.details.txt.gz via orepan2-indexer. | ||
| 28 | |||
| 29 | =back | ||
| 30 | |||
| 31 | =head1 TUTORIAL | ||
| 32 | |||
| 33 | Download a tarball from CPAN. | ||
| 34 | |||
| 35 | % orepan2-inject http://cpan.metacpan.org/authors/id/M/MA/MAHITO/Acme-Hoge-0.03.tar.gz /path/to/darkpan/ | ||
| 36 | |||
| 37 | Create 02packages.details.txt! | ||
| 38 | |||
| 39 | % orepan2-indexer /path/to/darkpan/ | ||
| 40 | |||
| 41 | Then you can install Acme::Hoge from DarkPAN! | ||
| 42 | |||
| 43 | % cpanm --mirror-only --mirror=file:///path/to/darkpan/ Acme::Hoge | ||
| 44 | |||
| 45 | It's pretty easy! | ||
| 46 | |||
| 47 | =head1 What's the difference between OrePAN 2 and OrePAN1? | ||
| 48 | |||
| 49 | =over 4 | ||
| 50 | |||
| 51 | =item OrePAN2 has a cleaner interface. | ||
| 52 | |||
| 53 | =item OrePAN2 provides an OO-ish interface | ||
| 54 | |||
| 55 | You can use OrePAN2 as a library. | ||
| 56 | |||
| 57 | =item OrePAN2 uses modern modules like L<Parse::LocalDistribution>. | ||
| 58 | |||
| 59 | OrePAN1 did a lot of heavy lifting on its own. OrePAN2 delegates most tasks to other CPAN modules. | ||
| 60 | |||
| 61 | =item OrePAN2 is active project | ||
| 62 | |||
| 63 | OrePAN1 is now in maintenance mode, but OrePAN2 is still under active development. | ||
| 64 | |||
| 65 | =back | ||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | L<OrePAN2::Server> | ||
| 70 | |||
| 71 | =head1 LICENSE | ||
| 72 | |||
| 73 | Copyright (C) tokuhirom. | ||
| 74 | |||
| 75 | This library is free software; you can redistribute it and/or modify | ||
| 76 | it under the same terms as Perl itself. | ||
| 77 | |||
| 78 | =head1 AUTHOR | ||
| 79 | |||
| 80 | tokuhirom E<lt>tokuhirom@gmail.comE<gt> | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||