Apparently, if your used to using do/while loops in p5, your gonna have to replace them with some hooky construction of
in P6!?
Which seems like a completely retrograde step to me. Apparently this is because "people often use do/while wrongly...". By my reckoning, if we applied that logic to the rest of perl, we'd be left with scalar assignment and if/goto. Hey! Fortran IV.
In reply to Re: Useful uses of redo?
by BrowserUk
in thread Useful uses of redo?
by kvale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |