Connector::Multi::YAML
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.
There is no special configuration besides the mandatory LOCATION property.
my $backend = Connector::Multi::YAML->new({ LOCATION = /etc/myconfig.yaml }) my $multi = Connector::Multi->new({ BASECONNECTOR => $backend })
To install Connector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Connector
CPAN shell
perl -MCPAN -e shell install Connector
For more information on module installation, please visit the detailed CPAN module installation guide.