Carton::Doc::Exec(3pm)

Carton::Doc::Exec3pm

Execute your script in a carton local environment

Usage

  carton exec perl myscript.pl

Overview

This command allows you to run your script in an isolated carton local environment, which means the 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 library path, and are not using any of the modules you accidentally installed into your system perl or perlbrew's site library path.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

-Ilib until Debian 7 (Wheezy).

From carton 1.0.35-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.