Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 122150
Status: new
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Improve documentation
Hi. I am confused with these cases $ perl -Mversion -e 'print version->parse("1.23_4")->normal ."\n"' v1_234.0 # Why not v1.23_4? $ perl -Mversion -e 'print version->parse("1.23_45")->normal ."\n"' v1.234_500 # Why Alfa is 500 and not 450? $ perl -Mversion -e 'print version->parse("1.2345")->normal ."\n"' v1.234.500 # OK $ perl -Mversion -e 'print version->parse(1.2345)->normal ."\n"' v1.234.500 # OK $ perl -Mversion -e 'print version->parse(1.23_45)->normal ."\n"' v1.234.500 # OK And I am not found them in DOC. Please add description for them. PS. I suppose that string is always converted to number (all "_" symbols are ignored) then this number is parsed.