in reply to Re^2: Using a stored condition
in thread Using a stored condition

Because non of variables $a, $b, $c, $d was declared. The question is why $a and $b do not cause problems? The answer: because they are special variables used in sort function. And it is safer not to use them in sample codes because you can get results far from expected.