I inserted the following line into my cgi script:
use Digest::MD5 qw(md5 md5_hex md5_base64);

and it generates error; but if type:

use MD5;

it works fine. Can someone pls explain?
By the way, I read on perldoc.com that

md5($data,...)
This function will concatenate all arguments, calculate the MD5 digest of this "message", and return it in binary form.
md5_hex($data,...)
Same as md5(), but will return the digest in hexadecimal form.
md5_base64($data,...)
Same as md5(), but will return the digest as a base64 encoded string.

Could someone put it in plain english binary vs hexadecimal vs base64 encoded?

Thanks.
Mariusz




_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to