提交 f246f90e 编写于 作者: R Richard Levitte

Perl: foreach (@list) { code } is better

Reviewed-by: NEmilia Käsper <emilia@openssl.org>
上级 ef653053
...@@ -158,10 +158,10 @@ ...@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册