Use new API for targets().
[irspy-moved-to-github.git] / web / htdocs / details / all.mc
index 83064f5..c4a0f42 100644 (file)
@@ -1,11 +1,10 @@
-%# $Id: all.mc,v 1.3 2006-09-20 13:19:53 mike Exp $
+%# $Id: all.mc,v 1.4 2006-09-22 15:39:14 mike Exp $
 <%perl>
 print "IRSpy version $ZOOM::IRSpy::VERSION<br/>\n";
 my $spy = new ZOOM::IRSpy("localhost:3313/IR-Explain---1");
 if (1) {
     # Testing all targets would take much too long for testing
 <%perl>
 print "IRSpy version $ZOOM::IRSpy::VERSION<br/>\n";
 my $spy = new ZOOM::IRSpy("localhost:3313/IR-Explain---1");
 if (1) {
     # Testing all targets would take much too long for testing
-    my @targets = qw(bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager);
-    $spy->targets(join(" ", @targets));
+    $spy->targets(qw(bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager));
 }
 $spy->initialise();
 my $res = $spy->check();
 }
 $spy->initialise();
 my $res = $spy->check();