Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(tye)Re4: Ordered Comparison of Generalized Version Strings.

by tye (Sage)
on Jul 26, 2001 at 19:58 UTC ( [id://100029]=note: print w/replies, xml ) Need Help??


in reply to Re: Ordered Comparison of Generalized Version Strings.
in thread Ordered Comparison of Generalized Version Strings.

Unfortunately, this module fails for some simple cases:

use Sort::Versions; print join(" ",sort versions qw(1.2a 1.10a)),"\n";
produces     1.10a 1.2a

Note that this matches the behavior described in the module's documentation, but I think it isn't what most people would want.

I've been considering patching the module to make it more useful...

[Mostly a repeat of Re: Re: Sorting on Section Numbers (to save clicks).]

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://100029]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-26 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found