For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > January 2007 > MD5 (version 2.36) not match with boottrap parameters on perl 5.8 lib (version 2.16)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MD5 (version 2.36) not match with boottrap parameters on perl 5.8 lib (version 2.16)
sonyazhang.hmc@gmail.com

2007-01-24, 7:00 pm

Hi guys,

I've bumped into a problem where i used

BEGIN{ require "./MD5.pm"; import Digest::MD5 "md5_hex"; }

my $salt = 'blahblah';

my $idnum = '1234567';

print md5_hex($salt . $idnum), "\n";

i have perl 5.8 on the server and i don't have permission to install
any CPAN modules.

i put a MD5.pm under the directory where i execute this script but got
a incompatible error as shown in the subject. anyone knows where i can
get one copy of MD5.pm that matches with Perl 5.8? or any alternative
solutions?

thanks!

sonyazhang.hmc@gmail.com

2007-01-25, 6:59 pm

Nevermind, i found the newer version at
http://search.cpan.org/~gaas/Digest-MD5-2.36/MD5.pm and download to
current directory and it went well!


On Jan 24, 4:37 pm, sonyazhang....@gmail.com wrote:
> Hi guys,
>
> I've bumped into a problem where i used
>
> BEGIN{ require "./MD5.pm"; import Digest::MD5 "md5_hex"; }
>
> my $salt = 'blahblah';
>
> my $idnum = '1234567';
>
> print md5_hex($salt . $idnum), "\n";
>
> i have perl 5.8 on the server and i don't have permission to install
> any CPAN modules.
>
> i put a MD5.pm under the directory where i execute this script but got
> a incompatible error as shown in the subject. anyone knows where i can
> get one copy of MD5.pm that matches with Perl 5.8? or any alternative
> solutions?
>
> thanks!


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com