From f246f90e6afcc32557cade2dcac9c0c3c7d36098 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 6 Apr 2016 17:30:01 +0200 Subject: [PATCH] Perl: foreach (@list) { code } is better MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper --- Configurations/common.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Configurations/common.tmpl b/Configurations/common.tmpl index f5c392099b..cdcaf5320f 100644 --- a/Configurations/common.tmpl +++ b/Configurations/common.tmpl @@ -158,10 +158,10 @@ # Build all known libraries, engines, programs and scripts. # Everything else will be handled as a consequence. - dolib($_) foreach @{$unified_info{libraries}}; - doengine($_) foreach @{$unified_info{engines}}; - dobin($_) foreach @{$unified_info{programs}}; - doscript($_) foreach @{$unified_info{scripts}}; + foreach (@{$unified_info{libraries}}) { dolib($_); } + foreach (@{$unified_info{engines}}) { doengine($_); } + foreach (@{$unified_info{programs}}) { dobin($_); } + foreach (@{$unified_info{scripts}}) { doscript($_); } # Finally, should there be any applicable BEGINRAW/ENDRAW sections, # they are added here. -- 2.25.1