in reply to Simpler Config-Simple needed

for (ref $FOO ? @$FOO : $FOO) {
oughta work for the array vs scalar problem. For making Config understand compound structures, I don't know. How about letting the file contain arbitrary different names and then accessing them via the hash returned by $cfg->vars();?

Caution: Contents may have been coded under pressure.