Yes that is exactly what I was looking for. Although I had to add
return \&{$class . '::' . $name} if (defined(&{$name}));for having the non-constant subs reachable.
Thanks for the nudge in the right direction.
In reply to Re^2: Using sub routines or AUTOLOAD for XS constants
by aflott
in thread Using sub routines or AUTOLOAD for XS constants
by aflott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |