If you're using strict, you must not declare $a and $b as lexicals. They are package globals.etc.
In reply to Re: my $a outside sort block incompatibility
by toolic
in thread my $a outside sort block incompatibility
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |