You may also need to normalize the paths so that cases like ./foo and foo are sorted properly.# untested @sorted = keysort { s|[\\\/]|\x00|gr } @paths
In reply to Re: Sorting path names with Sort::Key
by salva
in thread Sorting path names with Sort::Key
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |