From: mike Date: Fri, 7 Apr 2006 11:25:58 +0000 (+0000) Subject: Omit vacuous port-0 argument to zoomtst3.pl X-Git-Tag: cpan_1_22~216 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e3c73de08407998922e88f2aaec287a92f1496ce;p=ZOOM-Perl-moved-to-github.git Omit vacuous port-0 argument to zoomtst3.pl --- diff --git a/samples/zoom/zoomtst3.pl b/samples/zoom/zoomtst3.pl index 8d4a232..a1398ac 100644 --- a/samples/zoom/zoomtst3.pl +++ b/samples/zoom/zoomtst3.pl @@ -1,4 +1,4 @@ -# $Id: zoomtst3.pl,v 1.1 2006-04-07 11:07:12 mike Exp $ +# $Id: zoomtst3.pl,v 1.2 2006-04-07 11:25:58 mike Exp $ # # See ../README for a description of this program. # perl -I../../blib/lib -I../../blib/arch zoomtst3.pl [...] @@ -28,7 +28,7 @@ $o->option(elementSetName => "F"); # Connect to all targets: options are the same for all of them for (my $i = 0; $i < $n; $i++) { $z[$i] = create ZOOM::Connection($o); - $z[$i]->connect($ARGV[$i], 0); ### remove the "0"? + $z[$i]->connect($ARGV[$i]); } # Search all