in reply to Re^2: use strict Question?
in thread use strict Question?

$a and $b are special package variables used by sort(), so they don't have to be declared even if you are using strict. $c isn't a special variable; hence it must be declared, and that's why it throws an error. See perlvar for more info.