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;
In reply to Re^4: Perl script does not work on other directories?
by SuicideJunkie
in thread Perl script does not work on other directories?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |