NAME

App::cpanexec - Execute application within local environment.

SYNOPSIS

cpane myscript arg1 arg2 ...

cpane plackup hello.psgi

cpane env

DESCRIPTION

The program cpane executes command within the local environment.

Perl package managers like Carton or cpm install the dependencies into local folder near the cpanfile.

The library local::lib prepares appropriate environment for executing script or executable program within such local environment. However it is necessary to do some passes to configure such environment and configured environment need to be deconfigured.

This program cpane requires command line passed as its arguments. The command line may be script installed in local folder or generic executable may be with arguments. It runs passed command line in the local environment configured for the current dir and does not modify current environment. Folder local must be exists in current dir.

The cpane may be used with Carton or cpm or without it. It works like exec subcommand of ruby bundler or perl Carton or like run subcommand of node npm. It configures runtime environments accordings to the generaly accepted perl workflows provided by local::lib.

DEPENDENCIES

local::lib

SEE ALSO

Carton

cpm

perlrocks

cpanfile

bundler

npm

LICENSE

MIT

AUTHOR

Serguei Okladnikov <oklaspec@gmail.com>