X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy.pm;h=cf2a91f76133d663c6fb7d0e2cb90f8423785db1;hp=d5672e810ea19446283a50d8f48e5198bebeb6ed;hb=8a7bebe7906f8885a73716a4d4fc905ca8b0aae2;hpb=bbb121e61ea43f6cb1a72ac823e648f33461884b diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index d5672e8..cf2a91f 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.17 2006-09-22 15:02:24 mike Exp $ +# $Id: IRSpy.pm,v 1.20 2006-09-26 09:24:45 mike Exp $ package ZOOM::IRSpy; @@ -84,7 +84,7 @@ sub targets { my($host, $port, $db, $newtarget) = _parse_target_string($target); if ($newtarget ne $target) { $this->log("irspy_debug", "rewriting '$target' to '$newtarget'"); - $target = $newtarget; # This written through the ref + $target = $newtarget; # This is written through the ref } push @qlist, (qq[(host = "$host" and port = "$port" and path="$db")]); @@ -158,7 +158,7 @@ sub initialise { my $zeerex = _render_record($rs, $i-1, "zeerex"); #print STDERR "making '$target' record with '$zeerex'\n"; $target2record{lc($target)} = - new ZOOM::IRSpy::Record($target, $zeerex); + new ZOOM::IRSpy::Record($this, $target, $zeerex); push @{ $this->{targets} }, $target if $this->{allrecords}; } @@ -168,7 +168,7 @@ sub initialise { if (!defined $record) { $this->log("irspy_debug", "made new record for '$target'"); #print STDERR "making '$target' record without zeerex\n"; - $target2record{$target} = new ZOOM::IRSpy::Record($target); + $target2record{$target} = new ZOOM::IRSpy::Record($this, $target); } else { $this->log("irspy_debug", "using existing record for '$target'"); } @@ -288,7 +288,10 @@ sub isodate { =head1 SEE ALSO -ZOOM::IRSpy::Record +ZOOM::IRSpy::Record, +ZOOM::IRSpy::Web, +ZOOM::IRSpy::Test, +ZOOM::IRSpy::Maintenance. The ZOOM-Perl module, http://search.cpan.org/~mirk/Net-Z3950-ZOOM/