in reply to Re^3: Perl and 64-bit compilers
in thread Perl and 64-bit compilers

I think you misunderstand what pack tells you

Yes ... I think you may be right. On re-reading I see that it is possibly telling me simply that an int might be greater than 32 bits. It sort of depends on whether the "long" that is "described in the next section" is the "long" that "is _exactly_ 32 bits" or the "long" that is according to the "local C compiler" :-)

Anyway, simplest thing is probably for me to fire off an email to the guy that has this machine and just verify that sizeof(int) == 4. (Sorry ... maybe that's what I should've done in the first place. I'll send another post to this thread when he replies with the answer.) If he can confirm that sizeof(int) is in fact 4, then I think we can be satisfied that %Config is doing its job properly.

Thanks ambrus, liverpole.

Cheers,
Rob

Replies are listed 'Best First'.
Re^5: Perl and 64-bit compilers
by syphilis (Archbishop) on Feb 18, 2007 at 23:47 UTC
    maybe that's what I should've done in the first place

    Yep .... that's what I shoulder done.

    My friend (with the linux x86_64 box) confirms that %Config gets it right.

    Cheers,
    Rob