Thread Modulversion vergleichen
(15 answers)
Opened by bianca at 2010-11-28 08:35 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? version If you tell the truth you don't have to remember anything.
-- Mark Twain |