Is it the version of perl that I run "perl Makefile.PL"

Yes.

Get the right "perl" and that's all you have to worry about. Simplest way to do that is to just spell it out. That is, if this 64-bit integer build of perl is in '/home/me/perl589_64int/' just run:
/home/me/perl589_64int/bin/perl Makefile.PL make test
and all should be sweet. Just remember to run 'make clean' before you try to rebuild the module using a different perl - or you'll likely get some confusing 'make test' results.

You might also like to build a perl with both long doubles and 64-bit ints (-Dusemorebits). 64-bit integers can be handled differently, depending upon whether long doubles are also available - so it's safest to have both options covered.

Update: Just to elaborate on what I meant by 64-bit integers can be handled differently (which is not strictly correct), consider this script:
use strict; use warnings; my $x = 2 ** 55; my $y = $x + 1; if($x == $y) {print "wow\n"} else {print "as expected\n"}
One would naively expect that, irrespective of whether perl was built with -Duse64bitint or with -Dusemorebits, the output of that script would be "as expected". But that's not so. The -Duse64bitint build outputs "wow", and the -Dusemorebits build outputs "as expected".

Cheers,
Rob

In reply to Re: Q about module building by syphilis
in thread Q about module building by cmac

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.