Re: version.pm and underscores

2009-09-23 Thread John Peacock
Eric Wilhelm wrote: Why is the underscore treated as a split character? This is actually counter to how v-strings work. $ perl -E 'say join(".", map({ord($_)} split(//, v2.3.4_5)))' 2.3.45 That is a bare v-string, so the tokenizer eats the underscore, just like any bare number. Althou

Re: version.pm and underscores

2009-09-23 Thread Eric Wilhelm
# from John Peacock # on Wednesday 23 September 2009 07:23: >When an >underbar/underscore is encountered, that is used as an additional > split character and the is_alpha flag set, so that the last "digit" > of the version is the "alpha release". Why is the underscore treated as a split character