in reply to Re^3: Perl script does not work on other directories?
in thread Perl script does not work on other directories?
You want to compare one thing, and then if it's the same, compare something else, and continue until you're sure they're both identical.
@results = sort { MostImportantFeature($a) <=> MostImportantFeature($b) or NextFeature($a) <=> NextFeature($b) or LeastImportantFeature($a) <=> LeastImportantFeature($b) } @source;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl script does not work on other directories?
by james28909 (Deacon) on Nov 26, 2014 at 20:01 UTC |