in reply to Re^3: Newbie doesn't understand Digest::MD5
in thread Newbie doesn't understand Digest::MD5

Thank you !!!! It works well. My error was double quote in place of simple quotes, starting now i'll always use
use strict; use warnings;
because it gives an explicit message.

Replies are listed 'Best First'.
Re^5: Newbie doesn't understand Digest::MD5
by doran (Deacon) on Apr 19, 2006 at 22:29 UTC
    Two quick notes since you've described yourself as a newbie.

    Some folks like to omit the "use warnings" in production code since the errors sometimes give up too much information to users who, if they are bad guys, can use it maliciously. But during development and testing it's pretty essential.

    Also, if you are going to be taking input from users, you should seriously consider turning on taint mode with the -T option. It's beyond the scope here to explain how to untaint data. The perlsec document has info about that and a whole lot more.