in reply to Re^3: XSUBs with variable input types
in thread XSUBs with variable input types

Thanks a lot, that works exactly as expected! I use @ISA for inheritance, but apart from that adopted your solution.