Perl: foreach (@list) { code } is better
Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
parent
ef65305307
commit
f246f90e6a
1 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue