|Just another Perl shrine|
Re: Re: Frontier::RPC and Digest::MD5by v_thunder (Scribe)
|on Aug 29, 2003 at 20:36 UTC||Need Help??|
Ok, I wrote some simple code to show this, and managed to narrow the problem down a little. Here is the code:
This is the server:
And the client:
md5 of "1234": 81dc9bdb52d04dc20036dbd8313ed055
Now, here's what I found. If I run the server on my desktop (perl 5.8.0), I get the expected result (81dc..). If I run the server on an older system (perl 5.6.1), I get the erroneous one (d41d..), along with the error on the console:
Use of uninitialized value in subroutine entry at ./srv line 8.
I have also found that even in the older system, the following code works:
It's pretty gross, though.