X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy.pm;h=b5bc04a53775784edb3ae13cde4a7a8a3718dcb8;hb=ade7734990df0a9d42d6ef6729e5ff5c9e1307a3;hp=fea7d59a6915f800b1b4b77d9039b0c54871f908;hpb=764d1d62e0649b39ec2bafa317564fedc3acae02;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index fea7d59..b5bc04a 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.13 2006-07-25 16:50:49 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) { @@ -196,6 +198,7 @@ sub check { my $res = $this->_run_test("Main"); foreach my $target (sort keys %{ $this->{target2record} }) { my $rec = $this->{target2record}->{$target}; + # It's a shame that LibXML can't pretty-print this print STDERR "$target: zeerex='", $rec->{zeerex}, "' = \n", $rec->{zeerex}->toString(), "\n"; ### Write record back to database, if modified.