Skip Menu |

This queue is for tickets about the Digest-SHA-PurePerl CPAN distribution.

Report information
The Basics
Id: 46419
Status: rejected
Worked: 15 min
Priority: 0/
Queue: Digest-SHA-PurePerl

People
Owner: Nobody in particular
Requestors: cbanker [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.47
Fixed in: (no value)



Subject: Export Issue and Dynamic Loading
I know this is more of an informational note than a bug report, but I feel that some people might find the following information useful. When converting from using Digest::SHA to using Digest::SHA::PurePerl, I got errors stating that sha512_base64, sha384_base64, etc are not exported. This can be fixed by copying the @EXPORT_OK lines from the Digest::SHA module into the PurePerl version. Additionally, as this is a pure perl module, you would expect that it could be used on systems not having dynamic loading enabled (such as microperl), however this is not the case by default, due to the use of FileHandle, which in turn uses some IO modules that require dynamic loading. If you do not need the dump and load functions, they can be removed along with the 'use FileHandle' line to allow this to run without any dynamic loading. By making these changes I am able to successfully run this module under microperl.
Thanks for supplying this informational note, which is quite useful. I agree with you that this isn't actually a bug report, and so I've decided to reject it as such. However, in the next version of Digest::SHA::PurePerl, I'll likely follow your suggestion and make the EXPORTs more consistent with those in Digest::SHA. Regards, Mark