[Catalyst] Catalyst Advent Calendar - Day 10 - Config General & Arrays

Michele Beltrame mb at cattlegrid.info
Thu Dec 11 07:38:30 GMT 2008


Hi all!

You should also be able to get around this Config::General limitation this way:

<some_values>
    want_an_array myentry
    want_an_array myentry
</some_values>

That is, repeating twice the same entry. This avoids the creation of
spurious entries.

I'm quite sure I used to go this route before definitely switching to JSON,
which doesn't suffer of this and, if formatted properly, can be easy to read
and manipulate as well.

Hope this helps,
Michele.

-- 
Michele Beltrame
http://www.cattlegrid.info/
ICQ 76660101 - MSN mb at italpro.net



More information about the Catalyst mailing list