App::cpanexec - Execute application within local environment.
cpane myscript arg1 arg2 ... cpane plackup hello.psgi cpane env
The program cpane executes command within the local environment.
cpane
Perl package managers like Carton or cpm install the dependencies into local folder near the cpanfile.
local
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.
exec
run
local::lib
Carton
cpm
perlrocks
bundler
npm
MIT
Serguei Okladnikov <oklaspec@gmail.com>
To install App::cpanexec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::cpanexec
CPAN shell
perl -MCPAN -e shell install App::cpanexec
For more information on module installation, please visit the detailed CPAN module installation guide.