in reply to Where is plain XS.pm?

XS-Typemap::Typemap is not a valid module name, because module names must be alphanumerics plus underscores, at least when ignoring UTF-8 stuff. Yes, I get the error message Can't locate XS.pm in @INC ... when I try it, but while I would hope Perl would give a sensible error message given an invalid module name, I don't know that I would expect it. Where are you getting XS-Typemap::Typemap? Meta::CPAN appears not to know about it, and 02packages.details.txt.gz does not contain it.

Replies are listed 'Best First'.
Re^2: Where is plain XS.pm?
by Anonymous Monk on May 24, 2025 at 14:59 UTC

    Correction to myself: when I pontificated about valid module names, I omitted to mention the double colon ('::') used for punctuation between name segments, and corresponding to the path separator when Perl looks for the file containing the module. The point I was trying to make (too tersely) was that a dash (a.k.a HYPHEN-MINUS) is not valid in a module name.