1Carton::Doc::Exec(3) User Contributed Perl Documentation Carton::Doc::Exec(3)
2
3
4
6 Carton::Doc::Exec - execute your script in a carton local environment
7
9 carton exec perl myscript.pl
10
12 This command allows you to run your script in an isolated carton local
13 environment, which means the perl 5 library path @INC are the only ones
14 from perl's core library path, carton's library path (i.e.
15 "local/lib/perl5") and the current directory.
16
17 This is useful to make sure your scripts and application use the exact
18 same versions of the modules in your library path, and are not using
19 any of the modules you accidentally installed into your system perl or
20 perlbrew's site library path.
21
22
23
24perl v5.28.0 2018-06-28 Carton::Doc::Exec(3)