blib/lib/auto/share/dist/App-CELL/CELL_Config.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/App/CELL/Guide.pm ↑ Summary blib/lib/auto/share/dist/App-CELL/CELL_MetaConfig.pm »
1 # *************************************************************************
2 # Copyright (c) 2014-2020, SUSE LLC
3 #
4 # All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met:
8 #
9 # 1. Redistributions of source code must retain the above copyright notice,
10 # this list of conditions and the following disclaimer.
11 #
12 # 2. Redistributions in binary form must reproduce the above copyright
13 # notice, this list of conditions and the following disclaimer in the
14 # documentation and/or other materials provided with the distribution.
15 #
16 # 3. Neither the name of SUSE LLC nor the names of its contributors may be
17 # used to endorse or promote products derived from this software without
18 # specific prior written permission.
19 #
20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 # POSSIBILITY OF SUCH DAMAGE.
31 # *************************************************************************
32  
33 #-------------------------------------------------------------#
34 # CELL_Config.pm
35 #
36 # App::CELL's own core configuration parameters. This file
37 # is stored in the "distro sharedir" and is always loaded
38 # before the files in the application sitedir.
39 #
40 # In addition to being used by App::CELL, the files in the
41 # distro sharedir (CELL_MetaConfig.pm, CELL_Config.pm, and
42 # CELL_SiteConfig.pm along with CELL_Message_en.conf,
43 # CELL_Message_cz.conf, etc.) can be used as models for
44 # populating the application sitedir.
45 #
46 # See App::CELL::Guide for details.
47 #-------------------------------------------------------------#
48  
49 # CELL_DEBUG_MODE
50 # debug mode means that calls to $log->trace and $log->debug
51 # won't be suppressed - off by default
52 9 set( 'CELL_DEBUG_MODE', 0 );
53  
54 # boolean value expressing whether sharedir has been loaded
55 # (defaults to 1 since the param is initialized only when distro sharedir
56 # is loaded)
57 9 set( 'CELL_SHAREDIR_LOADED', 1 );
58  
59 # CELL_SHAREDIR_FULLPATH
60 # full path of App::CELL distro sharedir
61 # overrided by site param when sharedir is loaded
62 9 set( 'CELL_SHAREDIR_FULLPATH', '' );
63  
64 # CELL_SUPP_LANG
65 # reference to a list of supported language tags
66 # (i.e. languages for which we have _all_ messages
67 # translated)
68 9 set( 'CELL_SUPP_LANG', [ 'en' ] );
69  
70 # CELL_DEF_LANG
71 # the language that messages will be displayed in by default,
72 # when no language is specified by other means
73 9 set( 'CELL_DEF_LANG', 'en' );
74  
75 # CELL_CORE_UNIT_TESTING
76 # used only for App::CELL unit tests
77 9 set( 'CELL_CORE_UNIT_TESTING', [ 'nothing special' ] );
78  
79 # CELL_LOAD_SANITY_CORE
80 # used by App::CELL::Load::init sanity check
81 9 set( 'CELL_LOAD_SANITY_CORE', 'Bar' );
82  
83 # CELL_CORE_SAMPLE
84 # sample core variable (for demo purposes)
85 9 set( 'CELL_CORE_SAMPLE', 'layers of sediments' );
86  
87 # CELL_LOG_SHOW_CALLER
88 # determine whether App::CELL::Log appends file and line number of
89 # caller to log messages
90 9 set( 'CELL_LOG_SHOW_CALLER', 1 );
91  
92 #-------------------------------------------------------------#
93 # DO NOT EDIT ANYTHING BELOW THIS LINE #
94 #-------------------------------------------------------------#
95 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
96 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
97 9 1;
« blib/lib/App/CELL/Guide.pm ↑ Summary blib/lib/auto/share/dist/App-CELL/CELL_MetaConfig.pm »