![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Convert loop and if constructs from C to Perlby vladdrak (Monk) |
on Dec 16, 2006 at 09:10 UTC ( #590183=note: print w/replies, xml ) | Need Help?? |
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;'.
In Section
Seekers of Perl Wisdom
|
|