in reply to Sorting path names with Sort::Key
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Sorting path names with Sort::Key
by ikegami (Patriarch) on Jan 10, 2025 at 12:42 UTC | |
by Anonymous Monk on Jan 10, 2025 at 13:40 UTC | |
by salva (Canon) on Jan 23, 2025 at 13:28 UTC | |
by Anonymous Monk on Jan 10, 2025 at 18:22 UTC | |
Re^2: Sorting path names with Sort::Key
by Anonymous Monk on Jan 10, 2025 at 09:26 UTC |