in reply to Perl API for 32 bit or 64 bit system on Unix

length(pack "i", 0) gives the length of the C "int" type.

length(pack "p", "0") gives the length of a pointer

  • Comment on Re: Perl API for 32 bit or 64 bit system on Unix