From 84ae8526dbd91dff05bffc5f11311b52ac4a9fed Mon Sep 17 00:00:00 2001 From: Ben Ostrowsky Date: Wed, 13 Oct 2010 15:44:28 +0000 Subject: [PATCH 1/1] Now with address line2! git-svn-id: svn://nox.esilibrary.com/migration-tools@711 eee7cc8d-164e-4af6-8e1b-092a69004917 --- unicorn/unicorn_patrons_to_tsv.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; -- 1.7.2.5