Re: version-0.77 and You

David Golden <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.module-build,gmane.comp.lang.perl.perl5.porters
Message-ID <[email protected]>
On Wed, Jul 15, 2009 at 5:50 PM, Gisle Aas<[email protected]> wrote:
> We obviously disagree about what makes code readable.

Let me rephrase -- I think putting "use version" last means it's more
likely that someone will inadvertently leave it off.  Putting it first
indicates that it's an important precursor, which it is.

I'm not wedded to one or the other formulation.

>   our $VERSION = do { use version 1.00; version->declare("v1.2.3") };

I almost hate to say it, but I actually kind of like that.  It's
really, really clear in the intent.

-- 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.