in reply to Friday Code Quiz

The comma here is the sequence operator. $i=1 is evaluated, then 2 is. 2 is the value of the whole statement. The construction $j=do{$i=1,2};gives $i value 1, and $j value 2.

Update: spoiler blackboxed

After Compline,
Zaxo