in reply to Re^3: UrlLib and urllib2 python to perl
in thread UrlLib and urllib2 python to perl

Digest::MD5 should be a suitable replacement here:
% python -c'import hashlib;print hashlib.md5("blah").hexdigest()' 6f1ed002ab5595859014ebf0951522d9
% perl -MDigest::MD5 -E'say Digest::MD5::md5_hex("blah")' 6f1ed002ab5595859014ebf0951522d9