Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Dealing with names is a mess. It's tempting to split things into "firstname, "initial", "lastname", but, as you've noticed, that falls apart pretty quickly, both for foreign names and for people who use honorifics.

    Consider using a single "fullname" field. If you're going to be using the database for generating form letters, add a "salutation" field. That way, "The Right Honorable Horatio Hornblower III" can be addressed as "Dear Horny,".
    • "Firstname" "initial" breaks down horribly for "J. David Blackstone."

      On the other hand, I always know it's a telemarketer when they ask for "David J. Blackstone."

      --
      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers