Koha/C4/SIP/interactive_patron_dump.pl
Joe Atzberger (siptest 1a46bc1218 Interactive debugging aides for SIP abstraction layer.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-05 22:43:44 -05:00

18 lines
258 B
Perl
Executable file

#!/usr/bin/perl
#
use warnings;
use strict;
use ILS::Patron;
use Data::Dumper;
while (1) {
print "Enter patron barcode: ";
my $in = <>;
defined($in) or last;
chomp($in);
last unless $in;
my $patron = ILS::Patron->new($in);
print Dumper($patron);
}