Advanced-Config
view release on metacpan or search on metacpan
t/config/30-alt_symbol_control.cfg view on Meta::CPAN
comment = =
variable_left = '%' # %..% for variable substitution
variable_right = '%'
quote_left = '<' # <..> for balanced quotes
quote_right = '>'
croak = 2
# ---------------------------------------------------------------------
[ 30-alt_symbols_03.cfg ]
assign = :=
comment = ?
variable_left = '$[' # $[..] for variable substitution
variable_right = ']'
quote_left = '@' # @..@ for balanced quotes ...
quote_right = '@'
croak = 2
# Defines the tag to look up in the config file for the section name to use.
section_test_01 = section_03
# ---------------------------------------------------------------------
[ 30-alt_symbols_04 multi section test.cfg ]
assign = ~
comment = CMT:
variable_left = '$<' # $<..> for variable substitution
variable_right = '>'
quote_left = "'" # '..' for balanced quotes
quote_right = "'"
section_left = '{'
section_right = '}'
croak = 2
section_test_01 = section_01
section_test_02 = section_02
# ---------------------------------------------------------------------
[ 30-alt_symbols_05 space assign.cfg ]
assign = \s # Special case of space separated tag/values
comment = :
variable_left = '$[' # $[..] for variable substitution
variable_right = ']'
quote_left = '^' # ^..^ for balanced quotes
quote_right = '^'
croak = 2 # Call die if it doesn't parse correctly.
# =====================================================================
[ 30-alt_symbols_70 merge multiple files.cfg ]
source_cb = "main::ALTER_SOURCE_CALLBACK_OPTIONS"
croak = 2
section_test_01 = section_03
section_test_02 = section_01
section_test_03 = section_02
# ---------------------------------------------------------------------
# Simulates test # 70 using calls to merge_config() instead of
# directly sourcing in the extra file from the original config file.
[ 30-alt_symbols_71_empty.cfg ]
croak = 2
section_test_01 = section_03
section_test_02 = section_01
section_test_03 = section_02
# ---------------------------------------------------------------------
# Like test # 71, except that it calls merge_config() multiple times
# per config file referenced.
[ 30-alt_symbols_72_empty.cfg ]
croak = 2
section_test_01 = section_03
section_test_02 = section_01
section_test_03 = section_02
# ---------------------------------------------------------------------
[ 30-alt_symbols_80_overlap.cfg ]
croak = 2
section_test_01 = control.main
section_test_02 = control.duplicate
section_test_03 = control.variable
# ---------------------------------------------------------------------
[ 30-alt_symbols_81_merge_same_file.cfg ]
source_cb = "main::ALTER_SOURCE_CALLBACK_OPTIONS"
croak = 2
section_test_01 = control.main
section_test_02 = control.duplicate
section_test_03 = control.variable
section_test_04 = control.one
section_test_05 = control.two
section_test_06 = control.three
section_test_07 = control.four
# ---------------------------------------------------------------------
( run in 1.803 second using v1.01-cache-2.11-cpan-98e64b0badf )