Name

Connector::Multi::Merge

Description

This is a glue connector to create the required reference syntax for Connector::Multi based on a backend configuration handled by Config::Merge.

LOCATION is passed over as path to Config::Merge and must point to the root node of the config directory.

Internally, the constructor walks down the whole tree and translates all keys starting or ending with the "@" character into references as understood by Connector::Multi.

CONFIGURATION

There is no special configuration besides the mandatory LOCATION property.

Example

my $backend = Connector::Multi::Merge->new({
    LOCATION = /etc/myconfigtree/
})

my $multi = Connector::Multi->new({
    BASECONNECTOR => $backend
})