in reply to custom sorting
If not, you might take pc88mxers code and change the last split line to:
Now if you also might have double surnames (like 'Mary Wayward Jenkins') you are out of luck. Changing all "Double Surnames" to "Double-Surnames" is then your only hope. Or doing that with the first names and changing above code somewhatmy (@name) = split(/ /, $fullname); $last= pop @name; if ($last=~/(jr|sr)\.?/i) { $last= pop @name . ' ' . $last; }
|
|---|