in reply to Questions on strict

Unfortunately, $a and $b are special global variables in perl. They are used in custom sort routines. See the perlfunc man page for more about sort() and how it uses them.