in reply to Re: •Re: Problem with Schwartzian Transform nested in another sort from a different package
in thread Problem with Schwartzian Transform nested in another sort from a different package

If you're confused about variables and packages, it sounds like you need to read Coping with Scoping.

Since sort was there in Perl 4, the mechanism that it uses by default ($a, $b) accesses the package variable of that name in the current package.

  • Comment on Re: Re: •Re: Problem with Schwartzian Transform nested in another sort from a different package