Re: error creating 'BUILD' script

[email protected] (demerphq)
Newsgroups perl.module.build
Message-ID <[email protected]>
2009/9/23 John Peacock <[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).

Where does the "only one underscore allowed" bit come from tho?

yves




-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
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.