Perl: foreach (@list) { code } is better
Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
@@ -158,10 +158,10 @@
|
|||||||
|
|
||||||
# Build all known libraries, engines, programs and scripts.
|
# Build all known libraries, engines, programs and scripts.
|
||||||
# Everything else will be handled as a consequence.
|
# Everything else will be handled as a consequence.
|
||||||
dolib($_) foreach @{$unified_info{libraries}};
|
foreach (@{$unified_info{libraries}}) { dolib($_); }
|
||||||
doengine($_) foreach @{$unified_info{engines}};
|
foreach (@{$unified_info{engines}}) { doengine($_); }
|
||||||
dobin($_) foreach @{$unified_info{programs}};
|
foreach (@{$unified_info{programs}}) { dobin($_); }
|
||||||
doscript($_) foreach @{$unified_info{scripts}};
|
foreach (@{$unified_info{scripts}}) { doscript($_); }
|
||||||
|
|
||||||
# Finally, should there be any applicable BEGINRAW/ENDRAW sections,
|
# Finally, should there be any applicable BEGINRAW/ENDRAW sections,
|
||||||
# they are added here.
|
# they are added here.
|
||||||
|
|||||||
Reference in New Issue
Block a user