[Catalyst] Config::General question

Kiki kiki at bsdro.org
Sun Jun 11 12:45:47 CEST 2006


So you got me looking into C::G and yes, I'm too lazy to dig into the
docs. Anyways short question to which I found no obvious answer:

Can C::G syntax express just an array of arrays (used to populate data
tables via DBIC schema):

[
    [ qw/artistid name/ ],
    [ 1, 'Popular Band' ],
    [ 2, 'Indie Band' ],
]

so that I can just throw it into $schema->populate($moniker, $data); ?


Kiki



More information about the Catalyst mailing list