Parse and manipulate Perl version strings