Little problem with Perl-program under 64-bit os (Byte order is not compatible at ../../lib/Storable.pm...
Posted on 2010-09-02
I have programmed a perl-program that needs to read files with:
use Storable ('retrieve');
Under 32bit Linux this works fine.
Now I want to upgrade to 64bit Linux, but my program says:
Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 331, at ./autobot.pl line 127
I have searched with Google and people write to use this command to solve the problem:
$Storable::interwork_56_64bit = 1;
But it doesn't work, I tried out this command in many ways, each time the same error.
Does anyone have any idea how to solve this problem?