On Jul 19, 2004, at 12:27 PM, Ken Williams wrote:
You'd probably do it like this, which I think is pretty nice:
features =>
{
...
pg_support =>
{
description => "Interface with Postgres databases",
requires => q{ DBD::Pg >= 23.3 && DateTime::Format::Pg },
},
mysql_support =>
{
description => "Interface with MySQL databases",
requires => q{ DBD::mysql >= 17.9 && DateTime::Format::Pg },
},
...
}
Ah, yes, that is nice.
Though upon reflection I, too, an not sure about putting requirements in the features section. But maybe does make sense...you could put _all_ of the requirements there, if you needed to.
Okay, I'm happy with it. :-)
Yup. It will parse the version specifiers and report whether they're satisfied.
Perfect. Thanks!
David
smime.p7s
Description: S/MIME cryptographic signature
