Blends and Config::Model ?
following our brief discussion, here is a bit more information about
Config::Model, a Perl module to “create tools to validate, migrate and edit
configuration files”. http://search.cpan.org/~ddumont/Config-Model/
What makes it interesting for the Blends is that it supports the Debian control
data syntax — it calls it “Dpkg” format. This syntax is used for the tasks
files of our blends.
In particular, it is possible to declare the syntax and describe it at the same
time, which I think would be beneficial for the tasks files, as we would get a
validator for free.
If you would like to see a real life example, you can try the DEP-5 parser on some
of our copyright files.
Debian Med packaging team,
Tsurumi, Kanagawa, Japan