I have the following data structure in Perl code:
my $config = {
'View::Mason' => {
comp_root => [
[ 'teamsite' => 'root/teamsite' ],
[ 'components' => 'root/components' ],
],
},
};
I'm trying to represent this structure in a Config::General configuration file.
So far I have:
<View::Mason>
<comp_root>
teamsite root/teamsite
</comp_root>
<comp_root>
components root/components
</comp_root>
</View::Mason>
Which at least makes the "comp_root" element an array reference, but I can't get it to point to another array reference.
Can this be done in Config::General?