debian man page for carton::doc::exec

Query: carton::doc::exec

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Carton::Doc::Exec(3pm)					User Contributed Perl Documentation				    Carton::Doc::Exec(3pm)

NAME
Carton::Doc::Exec - execute your script in a carton local environment
SYNOPSIS
carton exec -Ilib -- perl myscript.pl
DESCRIPTION
This command allows you to run your script in an isolated carton local environment, which means the whole perl 5 library path @INC are the only ones from perl's core library path, carton's library path (i.e. "local/lib/perl5") and the current directory. This is useful to make sure your scripts and application use the exact same versions of the modules in your lirbary path, and are not using any of the modules you accidentally installed into your system perl or perlbrew's site library path.
OPTIONS
-Ilib Like perl's "-I" option, this allows you to specify the library path you want to pass to the script you're going to run. Because of the complexity of how perl's "PERL5OPT" and "-M" and "-I" command line options are handled, you have to pass this option to the "carton exec" command instead of the actual "perl" command. perl v5.14.2 2011-07-01 Carton::Doc::Exec(3pm)
Related Man Pages
carton(3pm) - debian
cpanfile(3pm) - debian
findbin(3pm) - centos
elixirfm::exec(3pm) - debian
lib::core::only(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?
New UNIX and Linux History Sections