Thread Modulversion vergleichen (15 answers)
Opened by bianca at 2010-11-28 08:35

ich
 2010-11-28 11:14
#143150 #143150
User since
2003-09-19
120 Artikel
BenutzerIn
[Homepage] [default_avatar]
Code (perl): (dl )
1
2
3
4
5
6
7
8
use version;
use strict;
use warnings;
use Data::Dumper;

my @ordered = sort { version->parse($b) <=> version->parse($a) } ('1.93_99', '1.94_55');

print Dumper(\@ordered);


Hilft dir das? CPAN:version
If you tell the truth you don't have to remember anything.
-- Mark Twain

View full thread Modulversion vergleichen