Hello All,
I have an array which looks like this:
my @ar1 = (text1.txt, text1a.txt, text2.txt, text54.txt,...text1g.txt,...text54f.txt,...);I would like to have always the last version of my names inside the array. The result should look like this:
my @ar2 = (text2.txt,...text1g.txt,...text54f.txt,...);I would appreciate some help. Thank you in advance.
In reply to Sorting array by negativ_m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |