Name

Connector::Multi::YAML

Description

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

LOCATION is passed over as file to load by YAML.

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::YAML->new({
    LOCATION = /etc/myconfigtree/
})

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