Re: error creating 'BUILD' script

John Peacock <[email protected]> Wed, 23 Sep 2009 06:47:05 -0400
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
Andreas J. Koenig wrote:
> % perl -le 'print 100_200_300'
> 100200300
> 
> I'm sure we had this before but IMO a single underscore rule violates
> the principle of least surprise.

But that's not what the module had:

perl -le "print '100_200_300'"
100_200_300

Once I determined to use an underscore to denote an alpha version (and that boat
has long since sailed), then I had to validate the format (no periods after the
underscore and only one underscore allowed).

Actually, had that release been uploaded to PAUSE, I believe the CPAN indexer
code would have choked just as readily... ;-)

John