On Oct 28, 2007, at 4:54 PM, Ron Savage wrote:
David Golden wrote:
Hi David
IMHO, a spec is a spec. If the next version of the spec says it can
be a list or a scalar, then fine, but only then and only if the
META.yml claims that spec. But if the spec says it should be a list,
then it should be a list and Module::Install has a bug.
From my point of view, as a module author, the spec has the bug in it.
Yet look what happens to everyone's parsing tools when we change the
spec in the name of "convenience":
$node = $spec->author;
foreach $author (@$node) { # Because the spec says it's an array
...
}
__END__
# Can't use string ("Ron Savage <[EMAIL PROTECTED]>") as an ARRAY ref
So I'm starting to reconsider changing it actually.
-Ken