From 956db9fe484905b5eb01b5cbc218946d6d9cf851 Mon Sep 17 00:00:00 2001 From: Ben Ostrowsky Date: Wed, 26 May 2010 15:03:48 +0000 Subject: [PATCH 1/1] Fixed a bug that improperly parsed 'III' as a suffix. git-svn-id: svn://nox.esilibrary.com/migration-tools@694 eee7cc8d-164e-4af6-8e1b-092a69004917 --- unicorn/unicorn_patrons_to_tsv.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/unicorn/unicorn_patrons_to_tsv.pl b/unicorn/unicorn_patrons_to_tsv.pl index 12b4371..5c0a248 100755 --- a/unicorn/unicorn_patrons_to_tsv.pl +++ b/unicorn/unicorn_patrons_to_tsv.pl @@ -183,7 +183,7 @@ for (my $u = 0; $u < @records; $u++) { } # Strip off a suffix, if there is one - foreach $suffix (qw( Jr\. Jr Sr\. Sr II III IV )) { + foreach $suffix (qw( Jr\. Jr Sr\. Sr III II IV )) { if ($temp_name =~ / $suffix/i) { $records[$u]{'l_suffix_name'} = $suffix; $temp_name =~ s/ $suffix//i; -- 1.7.2.5