<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">We're going to be talking Control Flow in perl6 for January's meeting, right?<div class=""><br class=""></div><div class="">Most major languages these days have C-derived syntax. An if statement looks like this:</div><div class=""><br class=""></div><div class=""><font face="Courier New" class=""><b class="">if (...) { ... } else { ... }</b></font></div><div class=""><br class=""></div><div class="">In most C-derived languages, the parens are required, but the squiggle brackets are optional. (This causes some ambiguity when the "..."s contain other if statements, but whatever.) In perl5, both the parens and squigglies are required. But in perl6, the parens are optional and the squigglies are required. Not sure why they decided to go the opposite direction from every other language, but again, whatever.</div><div class=""><br class=""></div><div class="">I tend to prefer the Bourne shell syntax:</div><div class=""><br class=""></div><div class=""><font face="Courier New" class=""><b class="">if ... then ... else ... fi</b></font></div><div class=""><br class=""></div><div class="">But I suppose that's horribly old-fashioned. Anyway, just my two cents. Anyone have any thoughts?</div><div class=""><br class=""></div><div class=""> -bob</div><div class=""><br class=""></div></body></html>