From b72e7305513f0148b0fbb59ae5885e0ad77f65b2 Mon Sep 17 00:00:00 2001
From: atz <atz@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 11 Oct 2010 16:07:09 +0000
Subject: [PATCH] Tighter verbose format for skipped POs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@18262 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/src/support-scripts/edi_pusher.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Open-ILS/src/support-scripts/edi_pusher.pl b/Open-ILS/src/support-scripts/edi_pusher.pl
index b18852b0f7..80e4e19ad1 100755
--- a/Open-ILS/src/support-scripts/edi_pusher.pl
+++ b/Open-ILS/src/support-scripts/edi_pusher.pl
@@ -101,7 +101,9 @@ foreach my $def (@$defs) {
         # $subq->{'select'}->{'acqedim'} = ['id', 'purchase_order', 'message_type', 'status'];
         my $excluded = $e->json_query($subq);
         print "Excluded: ", scalar(@$excluded), " purchase order(s):\n";
-        print join("\n", sort map {sprintf "%7d", $_->{purchase_order}} @$excluded), "\n";
+        my $z = 0;
+        print map {sprintf "%7d%s", $_, (++$z % 5) ? '' : "\n"} sort {$a <=> $b} map {$_->{purchase_order}} @$excluded;
+        print "\n";
     }
 
     my $events = $e->json_query($query);
-- 
2.11.0