Miscellaneous Operators

expr1, expr2
Comma operator. Evaluates the left side, then evaluates the right side and returns the result of the right side.

test_expr ? true_expr : false_expr
Conditional operator. Depending on the test_expr the true_expr or the false_expr is evaluated and becomes the value of the entire expression. This code demonstrates how to toggle a 'paused' flag:
$paused ? ($paused = 0) : ($paused = 1);

..
Range operator, in list context:
foreach my $i (1 .. 100){ print "i= $i\n";}
@abc = ('A' .. 'Z', 'a' .. 'z');