Minor SIP cleanup, conditionalize warnings.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Joe Atzberger 2008-08-27 09:44:28 -05:00 committed by Chris Cormack
parent 068ffa861c
commit fac72f1162
1 changed files with 2 additions and 14 deletions

View File

@ -1,16 +1,4 @@
#!/bin/bash
perl -I ./ -e '
use Data::Dumper;
use ILS;
use Sip::Configuration;
my $code = "MAIN";
my $conf = Sip::Configuration->new("SIPconfig.xml");
my $ils = ILS->new($conf->{institutions}->{$code});
print "XML for $code: ", Dumper($conf->{institutions}->{$code}), "\n";
print "ILS for $code: ", Dumper($ils), "\n";
print "\$ils->checkout_ok(): ", ($ils->checkout_ok() ? "Y" : "N"), "\n";
print "\$ils->checkin_ok() : ", ($ils->checkin_ok() ? "Y" : "N"), "\n";
print "\$ils->offline_ok() : ", ($ils->offline_ok() ? "Y" : "N"), "\n";
print "\n";
'
perl -I ./ -e 'use Data::Dumper; use ILS; use Sip::Configuration; $conf=Sip::Configuration->new("SIPconfig.xml"); print Dumper($conf->{institutions}->{"MAIN"}),"\n";'