Just nit-picking, but... it's not (necessarily) main::a and main::b. They have to be in the package of the comparison sub.
--
dakkar - Mobilis in mobile
Most of my code is tested...
In reply to Re^2: Using $a and $b from XS
by dakkar
in thread Using $a and $b from XS
by tall_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |