Mark Dominus (陶敏修)
12 recent entries
Your kids will love a cookie-decorating party / A public service announcement about contracts / Examples of contracts you should not sign / Rectangles with equal area and perimeter / An ounce of theory is worth a pound of search / Why my book can be downloaded for free / Impostor syndrome / Within this instrument, resides the Universe / When do n and 2n have the same digits? / Similarity analysis of quilt blocks / On uninhabited types and inconsistent logics / Guess what this does (solution)
Guess what this does
Here's a Perl quiz that I confidently predict nobody will get right.
Without trying it first, what does the following program print?
perl -le 'print(two + two == five ? "true" : "false")'
(I will discuss the surprising answer tomorrow.)
[Other articles in category /prog/perl]