|Keep It Simple, Stupid|
Frontier::RPC and Digest::MD5by v_thunder (Scribe)
|on Aug 29, 2003 at 19:31 UTC||Need Help??|
v_thunder has asked for the
wisdom of the Perl Monks concerning the following question:
I have a rather puzzling problem. I have invested quite some time in developing a set of applications that speak via xml-rpc using Frontier::Client and Frontier::Daemon. Everything seems to work fine, except I can't run strings through Digest::MD5 after they have gone through xml-rpc. I get the following error:
Use of uninitialized value in subroutine entry at ...
Digest::MD5::md5_hex does execute, but it returns the same hash that it would return if I were to pass it an empty string. I can print the string, however, no problem.
I've tried copying the string to another variable, I've tried using sprintf to make sure I get a new string back. Nothing seems to work. I am utterly confused! My next step will be to write it to a file and read it back, and failing that, to try to execute a separate process to do the md5sum. But, I figure someone here might have some insight as to what's going on.