From: Mike Taylor Date: Tue, 25 Jul 2006 15:18:03 +0000 (+0000) Subject: Gather targets when running in "all targets in DB" mode. X-Git-Tag: CPAN-v1.02~54^2~1097 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=5cebce9ecb1a4d1921d1d53acb0d83fc218a2a76;hp=f873565f301b90012248fabe034b60ed51c78026 Gather targets when running in "all targets in DB" mode. --- diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index fea7d59..d7ed4d6 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.11 2006-07-24 17:00:36 mike Exp $ +# $Id: IRSpy.pm,v 1.12 2006-07-25 15:18:03 mike Exp $ package ZOOM::IRSpy; @@ -153,6 +153,8 @@ sub initialise { my $zeerex = _render_record($rs, $i-1, "zeerex"); $target2record{lc($target)} = new ZOOM::IRSpy::Record($target, $zeerex); + push @{ $this->{targets} }, $target + if $this->{allrecords}; } foreach my $target (keys %target2record) {