On Mon, Nov 7, 2011 at 12:36 PM, sawyer x <xsawy...@gmail.com> wrote:

> This is a case where $a and $b makes absolute sense. It is also the same
> case as Perl's sort() function that uses $a and $b to indicate two values
> of the same importance.


  ... except declaring them as lexicals still _breaks_ their use in sort {
} in the same scope.

  ... and _silently_ breaks a naïve mysort { } in the same scope.  Even
with strict and warnings!

  This is a case where pointing out the shortcomings of lexical $a and $b
makes absolute sense.  Frankly, every sample code with lexical $a or $b is
such a case.


Eirik

Reply via email to