On an i686 linux system (also testing with microperl 5.8.6 and same libs), I get valid output. However, on the ARM system, I get the following error:#!/usr/bin/perl use Digest::SHA::PurePerl; my $shaVal = Digest::SHA::PurePerl::sha256('test'); print "SHA value: ", $shaVal, "\n";
The PurePerl.pm module is a slightly modified version, in which I removed the use of FileHandle.pm by omitting the ancillary dump / load functions to avoid using modules that require dynamic loading. However, this same modified module is used on both test systems. Does anyone have any idea what might be going on here? My suspicion is that it has to do with how the SHA module determines the functions to use based on the function name (i.e. there is no actual sub called sha256), but I can't figure out what that would be a problem just because of the different architecture. Any help or suggestions for fixes would be greatly appreciated.Undefined subroutine &Digest::SHA::PurePerl::sha256 called at ./test.p +l line 5.
In reply to Undefined subroutine on ARM but not i686 by cbanker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |