Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Password with hashes

by aitap (Deacon)
on Aug 10, 2012 at 07:35 UTC ( #986682=note: print w/replies, xml ) Need Help??


in reply to Password with hashes

Use exists to determine whether there is a key in the hash:
exists $pword{$username} || $pword{$username}=&ask_the_user();
Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986682]
help
Chatterbox?
[erix]: there used to be the 'razing' of towns and citoes but that now means something else in Germany (rasen=driving too fast)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-05-29 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?