http://www.perlmonks.org?node_id=232599

John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:

jmcnamara wrote
# wc perl -le 'print $==()=<>' file
Although I looked up $= in perlvar, I can't make heads nor tails of it! I read $= is assigned () is assigned <> with the assignments being right-associative. But that doesn't make sence, and even if it did, just printing the value of the assignment is normally no different from just printing the rhs, so what's the point?

Baffled,
—John