in reply to Where is plain XS.pm?
I'm no expert on XS, but it seems XS.pm is something you write yourself in your distribution, which then serves as the interface between XS code and Perl code, see for example Cpanel::JSON::XS file list.