Re: invalid installdirs values

[email protected] ("David E. Wheeler")
Newsgroups perl.module.build
Message-ID <[email protected]>
On Sep 26, 2008, at 18:48, Eric Wilhelm wrote:

> I would rather it just be a hash.  The ({}) thing is redundant.

You mean you'd rather it be a list. I agree, but it needs to be a  
hashref in order to disambiguate it from the original calling syntax,  
in order to maintain backward compatibility.

> So, $name is required, and if what's left is an even number, it's a
> hash.  If it's odd, $default = shift(@_).

Hrm. Okay, that works, too.

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.