We don't bite newbies here... much | |
PerlMonks |
Re: Password with hashesby I_love_perl (Novice) |
on Aug 10, 2012 at 15:26 UTC ( [id://986764]=note: print w/replies, xml ) | Need Help?? |
Hi,
If you already have the user name in the hash (i.e as key) then you can check whether it actually holds any value in it by:
Note that the above logic is written based on the assumption that the password cannot be just space characters and also no need to insert a password to an user who already has a password.
In Section
Seekers of Perl Wisdom
|
|