From: Ben Ostrowsky Date: Wed, 13 Oct 2010 15:44:28 +0000 (+0000) Subject: Now with address line2! X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=84ae8526dbd91dff05bffc5f11311b52ac4a9fed Now with address line2! git-svn-id: svn://nox.esilibrary.com/migration-tools@711 eee7cc8d-164e-4af6-8e1b-092a69004917 --- diff --git a/unicorn/unicorn_patrons_to_tsv.pl b/unicorn/unicorn_patrons_to_tsv.pl index d97b55f..640bed2 100755 --- a/unicorn/unicorn_patrons_to_tsv.pl +++ b/unicorn/unicorn_patrons_to_tsv.pl @@ -124,6 +124,7 @@ for (my $u = 0; $u < @records; $u++) { $records[$u]{'l_' . $a . '_' . $f} = $records[$u]{uc('USER_' . $a . '.' . $f)}; } $records[$u]{'l_' . $a . '_std_line1'} = $records[$u]{'USER_' . uc($a) . '.STREET'}; + $records[$u]{'l_' . $a . '_std_line2'} = $records[$u]{'USER_' . uc($a) . '.LINE2'}; if ((defined $records[$u]{'USER_' . uc($a) . '.CITY/STATE'}) && ($records[$u]{'USER_' . uc($a) . '.CITY/STATE'} =~ m/^(.*),(\s*)(.*)$/)) { $records[$u]{'l_' . $a . '_std_city'} = $1; $records[$u]{'l_' . $a . '_std_state'} = $3;