View on
MetaCPAN
Olaf Alders > OrePAN2-0.46 > OrePAN2::Injector

Download:
OrePAN2-0.46.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

OrePAN2::Injector - Inject a distribution to your DarkPAN

SYNOPSIS ^

    use OrePAN2::Injector;

    my $injector = OrePAN2::Injector->new(directory => '/path/to/darkpan');

    $injector->inject(
        'http://cpan.metacpan.org/authors/id/M/MA/MAHITO/Acme-Hoge-0.03.tar.gz',
        { author => 'MAHITO' },
    );

DESCRIPTION ^

OrePAN2::Injector allows you to inject a distribution into your DarkPAN.

METHODS ^

my $injector = OrePAN2::Injector->new(%attr)

Constructor. Here %attr might be:

$injector->inject($source, \%option)

Inject $source to your DarkPAN. Here $source is one of the following:

\%option might be:

SEE ALSO ^

orepan2-inject

LICENSE ^

Copyright (C) tokuhirom.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

tokuhirom <tokuhirom@gmail.com>

syntax highlighting: