Add a header line to explain the fields
authorBen Ostrowsky <ben@esilibrary.com>
Wed, 11 May 2011 15:55:25 +0000 (15:55 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Jul 2012 16:09:36 +0000 (12:09 -0400)
git-svn-id: svn://nox.esilibrary.com/migration-tools@734 eee7cc8d-164e-4af6-8e1b-092a69004917

unicorn/unicorn_patrons_to_tsv.pl

index 94c03dd..ca0d8f0 100755 (executable)
@@ -205,8 +205,9 @@ for (my $u = 0; $u < @records; $u++) {
 
 }
 
-
 # Print the results
+print join("\t", @output_fields) . "\n";
+
 for (my $u = 0; $u < @records; $u++) {
        foreach $f (@output_fields) {
                if (defined $records[$u]{$f}) {