| Next | The Perl Hardware Store | DC.pm Version | 40 |
You have two parallel arrays
Sort one into the order specified by the other.
Example:
@first @last
Albert Einstein
Mark Dominus
Morton Zeemeister
Babe Ruth
Nat Torkington
Larry Wall
Sort @first into order Mark, Albert, Babe, Nat, Larry, Morton.
| Next | ![]() |
Copyright © 2003 M. J. Dominus |