in reply to Sort and related stuff

Sounds like a bug in your version of Perl - which version are you using? It's my understanding that $a and $b are explicitly excluded from things like the 'used only once' checks for precisely this reason.

For the record, here on 5.005_02 it works as expected - without the error message.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

Replies are listed 'Best First'.
Re: Re: Sort and related stuff
by leons (Pilgrim) on Feb 23, 2001 at 15:33 UTC
    Hmmm ... that's kind of weird.
    I use version 5.6.0 for sun4-solaris

    Thanks, Leon 'still puzzled' Spaans