From 6ba80f84f03691f4f90e6361fe0e02c9a5e202bb Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 19 Mar 2014 14:23:45 -0700 Subject: [PATCH] fix syntax error and typo in make_index_from_stubs.pl --- t/test_spool/versions/indices/make_index_from_stubs.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/test_spool/versions/indices/make_index_from_stubs.pl b/t/test_spool/versions/indices/make_index_from_stubs.pl index 5d56e14..dbda1b0 100755 --- a/t/test_spool/versions/indices/make_index_from_stubs.pl +++ b/t/test_spool/versions/indices/make_index_from_stubs.pl @@ -44,13 +44,13 @@ sub populate_index{ @stub_results = @{$stub_results[0]}; } if ((@stub_results % 2) == 0 and - not ref($stub_results[0]) and + not ref($stub_results[0]) ) { %stub_results_to_add = @stub_results; } else { for my $stub_result (@stub_results) { - next unless ref($stub_results); - next unless ref($stub_results) eq 'HASH'; + next unless ref($stub_result); + next unless ref($stub_result) eq 'HASH'; %stub_results_to_add = (%stub_results_to_add, %{$stub_result}); } -- 2.39.2