perlquestion
perl_lover
Hi Monks, <br>
I have an array of version numbers. <br>
<code>
my @version = ("1.2.3","1.3.4","1.2.31","1.12","1.12.1","1.12.12");
</code>
<br>
I need to sort this version numbers. Is there any efficent way in sorting version ?
<br>
The order should be
<br>
1.2.3, 1.2.31, 1.3.4, 1.12, 1.12.1, 1.12.12