nysus has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking for a module that will intelligently handle the names of people in my database. I used the cleanNames function of the Text::Names but unfortunately it didn't handle people with hyphenated names very well.

For example, someone with a name of "Mary Burgess Stevens" gets translated into "Stevens, Mary Burgess" while someone named "Donna Roy-Mayweather" gets converted to "Roy-Mayweather, Donna."

I'm wondering if anyone has done any work with hyphenated/double last names and how you tackled this problem.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks