Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Best way to check for 64-bit support

by syphilis (Archbishop)
on Sep 08, 2021 at 00:38 UTC ( [id://11136547]=note: print w/replies, xml ) Need Help??


in reply to Best way to check for 64-bit support

And what exact configuration option should I check?

In the Makefile.PL, I would:
if($Config::Config{ivsize} < 8) { print "Bailing out - 64-bit integers (IV) are required\n"; exit 0; }
As pryrt correctly suggested, this will result in no cpan-tester feedback being sent to you. Nor will it be registered anywhere as a "FAIL".
There's actually no need to explicitly use Config; (though you can, if you want) because ExtUtils::MakeMaker has already loaded it.

Cheers,
Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found