Phoenix.pm: Please help, my brain is fried

Beaves at aol.com Beaves at aol.com
Thu Jan 27 12:33:39 CST 2000


In a message dated 1/26/00 7:57:43 PM US Mountain Standard Time, 
kev at primenet.com writes:

<< sub create_login_id {
     return join('', map $_->[int(rand(52))], 
                (['a'..'z','A'..'Z']) x int(rand(6)+6));
 } >>

Could you expand this code and put in a few comments about what it is doing.
I like the conciseness, but I'm not exactly following what each section is 
doing...
(the classic 'brevity versus understandability' dillemma)

Thanks..

Tim



More information about the Phoenix-pm mailing list