Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to author a module with optional XS

by tobyink (Canon)
on Aug 31, 2023 at 11:49 UTC ( [id://11154201]=note: print w/replies, xml ) Need Help??


in reply to How to author a module with optional XS

Something nice might be if somebody released a module called issing::XS on CPAN, so that:

perl -Missing::XS your/script.pl

Would detect, for example, if JSON.pm got loaded but JSON::XS wasn't installed and print out a warning.

Obviously it would need to have a hard-coded list of modules that have XS backends, so would need to be updated occasionally. (It could also perhaps check and warn if issing::XS itself were out of date!)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11154201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2026-05-11 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.