Signed-off-by: Joshua Ferraro <jmf@liblime.com>
--- /dev/null
+#!/usr/bin/perl
+#
+
+use warnings;
+use strict;
+
+use ILS::Item;
+use Data::Dumper;
+
+while (1) {
+ print "Enter item barcode: ";
+ my $in = <>;
+ defined($in) or last;
+ chomp($in);
+ last unless $in;
+ my $patron = ILS::Item->new($in);
+ print Dumper($patron);
+}
--- /dev/null
+#!/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);
+}
--- /dev/null
+#!/usr/bin/perl
+#
+
+use warnings;
+use strict;
+
+use ILS::Transaction::RenewAll;
+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 "Patron before: \n " . Dumper($patron);
+ my $action = ILS::Transaction::RenewAll->new();
+ $action->do_renew_all();
+ print "\n\nTransaction::RenewAll: " . Dumper($action);
+ print "\n", "=" x 35, "\n";
+}