The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl

use strict;
use warnings;
use feature qw( say );

use OrePAN2::Auditor;
my $outdated = OrePAN2::Auditor->new_with_options;
$outdated->run;

__END__

=head1 NAME

orepan2-audit - 02packages auditor

=head1 SYNOPSIS

    % orepan2-audit --darkpan path/to/darkpan/02packages --cpan http://cpan.metacpan.org/modules/02packages.details.txt --show outdated-modules --verbose

=head1 DESCRIPTION

OrePAN2 auditor.  This script finds differences between your DarkPAN and a CPAN mirror.

=head1 OPTIONS

=over 4

=item C< --darkpan >

The full path or URL to a DarkPAN 02packages file in .txt or .txt.gz format.

=item C< --cpan >

The full path or URL to a CPAN 02packages file in .txt or .txt.gz format.

=item C< --verbose >

Print out some version information.  Currenly only applies to outdated modules

=item C< --show >

Possible values are C<outdated-modules>, C<cpan-only-modules> and C<darkpan-only-modules>.

=back

=head1 SOURCES

orepan2-inject script supports following source types.

=head2 ARCHIVE FILE

    orepan2-inject Text-TestBase-0.10.tar.gz /path/to/darkpan/

You can inject into DarkPAN from a file.

=head2 HTTP URL

    orepan2-inject http://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/Text-TestBase-0.10.tar.gz /path/to/darkpan/

You can inject into DarkPAN from an archive URL.