Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Password Generation and Module Multiplication

by jwkrahn (Abbot)
on Nov 22, 2010 at 22:38 UTC ( [id://873065]=note: print w/replies, xml ) Need Help??


in reply to Password Generation and Module Multiplication

$password .= @{$classes[$i]}[rand @{$classes[$i]}];

That should really be:

$password .= $classes[$i][rand @{$classes[$i]}];

You don't really want a list on the right hand side of the assignment.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-18 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found