in reply to Convert loop and if constructs from C to Perl

Perl requires you to always enclose if/elsif/else affected code in in curly braced blocks... that is, unless they occur in a post context e.g. 'print 1 if $a;'.
  • Comment on Re: Convert loop and if constructs from C to Perl