NAME
App::EPAN - Exclusive Perl Archive Nook
VERSION
This document describes App::EPAN version 0.001.
SYNOPSIS
use App::EPAN;
App::EPAN->run(@ARGV);
DESCRIPTION
This library is the actual backend/workhorse for the epan
program.
Action Methods
All action methods associated to the actions that can be triggered from the main program.
action_add
action_create
action_index
action_inject
action_install
action_list_actions
action_list_obsoletes
action_purge_obsoletes
action_update
-
Normally used as:
$instance->action_...;
The main entry point for these methods is:
run
-
$instance->run(@ARGV);
Runs the program with the provided arguments list.
Configuration methods
The following methods relate to configuration handling:
args
-
my @args = $instance->args;
Get arguments after configuration parsing, usually this is a list of modules.
config
-
my $single = $instance->config($cnf_name); my @multiple = $instance->config(@cnf_names);
Get one or more configurations.
execute_tests
-
my $boolean = $instance->execute_tests;
Check if tests should be executed when invoking
cpanm
. get_options
-
$instance->get_options(@ARGS);
Parse input options.
target_dir
-
my $path = $instance->target_dir;
Get target directory for the EPAN. Defaults to
epan
.
Listing methods
These methods provide list from the distributions collected along the way:
last_distlist
-
my @list = $instance->last_distlist;
List of distributions (last updated).
last_modlist
-
my @list = $instance->last_modlist;
List of modules (last updated).
COPYRIGHT AND LICENSE
Copyright (C) 2011-2021 by Flavio Poletti <polettix@cpan.org>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.