Are you sure this is a typo? It seems to me that the author knew exactly what the code was supposed to do. Using "//" like this is a common idiom to have "default arguments".
If the "$foo" was meant to be a comment, then what should be in "$it"? An undefined "$it" would produce a warning.
In reply to Re: Strange syntax question
by betterworld
in thread Strange syntax question
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |