Perl: foreach (@list) { code } is better
authorRichard Levitte <levitte@openssl.org>
Wed, 6 Apr 2016 15:30:01 +0000 (17:30 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 6 Apr 2016 15:30:01 +0000 (17:30 +0200)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Configurations/common.tmpl

index f5c3920..cdcaf53 100644 (file)
 
  # 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.