1Carmel::Setup(3) User Contributed Perl Documentation Carmel::Setup(3)
2
3
4
6 Carmel::Setup - Configures Carmel environment within a perl application
7
9 # in your perl application code, before using any modules
10 use Carmel::Setup;
11 use Plack;
12
14 Carmel::Setup allows you to confgure Carmel environment within a perl
15 code, so that you don't need to call "carmel exec" to run your program.
16
17 Difference with carmel exec
18 "carmel exec" adds "-MCarmel::Setup" to "PERL5OPT", which means all the
19 perl program, including third party commands spawned off of your
20 program (via "system" etc.) will also use the Carmel environment. That
21 may or may not be what you want, and calling Carmel::Setup manually in
22 your own code gives you the choice of bypassing "carmel exec".
23
25 Carmel::Preload
26
27
28
29perl v5.36.1 2023-05-27 Carmel::Setup(3)