File Coverage

blib/lib/OrePAN2.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


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