64bit - How to make perl script thinks that it's running on 64-bit machine? -


How can I think of a Perl script running on a 64-bit machine? It requires binary parsing of data written on 64-bit machine, but it needs to be parsed on a 32-bit machine (for example, through logic flags). In my code I have the formatting 'L! 4 'using the pack / unpack.

If your problem is to ensure that the script works correctly on a 64 bit machine So, I recommend that you use the virtual box to install the 64 bit version of the OS.

See:

But if you only need to "exploit" the "L! 4" mask, then should you find a different solution? (Ex:: Have you tried to see that your PERL version supports "Q" instead of "L"?)


Comments