in reply to Re: Re: perl -mstrict foo.plin thread perl -mstrict foo.pl
Oh, ha! $a and $b are global variables used by sort and so are already known by perl. That's why you don't see any errors in your example.