http://qs1969.pair.com?node_id=1049443


in reply to Strange syntax question

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.