Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.


Comment on Re: Password with hashes
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986682]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2015-08-02 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (13 votes), past polls