X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy.pm;h=d5672e810ea19446283a50d8f48e5198bebeb6ed;hp=5e28956ad8c64e05c5e5769d2da3b31c6afb8064;hb=bbb121e61ea43f6cb1a72ac823e648f33461884b;hpb=51b9d7fd56551279e8e2c193a500c34da90d5b2b diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 5e28956..d5672e8 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.16 2006-09-20 16:12:56 mike Exp $ +# $Id: IRSpy.pm,v 1.17 2006-09-22 15:02:24 mike Exp $ package ZOOM::IRSpy; @@ -74,11 +74,11 @@ sub log { # sub targets { my $this = shift(); - my($targetList) = @_; + my(@targets) = @_; - $this->log("irspy", "setting explicit list of targets '$targetList'"); + $this->log("irspy", "setting explicit list of targets ", + join(", ", map { "'$_'" } @targets)); $this->{allrecords} = 0; - my @targets = grep { $_ ne "" } split /\s+/, $targetList; my @qlist; foreach my $target (@targets) { my($host, $port, $db, $newtarget) = _parse_target_string($target);