| |
| |
| |
|
Comments:
<0> *sigh* <0> where do some people get the arrogance... <0> acting like multiple inheritance is something filthy. <1> purists and zealots usually <0> ach... <0> *shrug* <0> I'm probably too stupid for this <0> is anyone here familiar with lout ? <1> no, sounds dangerous <0> it's a disaster =)
<2> hi, how can i generate random string? <2> with chars and digits <2> ? <0> generate the ascii-codes random ? <0> or make an array with the characters you declare legal and then int( rand( @array ) ) <0> or get a ferret t bounce on your keyboard. <2> i want to generate random p***words <2> i don't want to prepare array with characters <2> is there another way.. <2> idea maybe? <1> what chars do you want to allow? <2> digits and letters <2> no symbols <2> can you give me direction... <1> upper and lower case letters? <2> I found module for this...but I don't think it's nesessery <1> no, it's not <2> Two-Bits dosn't matter <2> I don't want symbols cos this will be send trought sms and ..some mobile phones don't understands some symbols <2> or something.. <1> first thing i'd do is build that array you didn't want. it can be done easily though with @alpha = 'a'..'z', 'A'..'Z', 0..9; <2> Two-Bits yes, this is what i have at the moment..I was wondering ..is it possible with unpack or pack.. <1> sorry, that'll need parens <1> uhh.. not that i know of. <2> ok, i'll keep it with array ;) thanks <1> how are you doing it after that? <2> didn't understand for what you're asking ? <2> I don't have very good english ;) <2> sorry :) <1> how are you using the array to build the p***word? <1> i'm just wanted to make sure that you're not making it any more difficult than you have to <2> $array[int(rand($#array))] <2> :) <2> normaly? <0> you won't get the last cell in the array ever, that way <2> ops ..yes...
<2> then with +1 <2> ;) <2> in the rand;) <1> might i suggest $array[rand @array]; ? <0> $#thingie returns the index of the last cell. the scalar of @thingie returns the length. <2> Two-Bits looks shorter :) <1> the int is unnecessary, and the array in scalar context gives the length <2> Mariandroid I know, I just didn't think about it ;) <0> oh, didn't know the int could be left out. <2> Two-Bits nice <0> max4o just trying to be complete =0 <2> :) <2> Mariandroid thank you for this :) <0> oh sorry =) You're welcome of course. <2> :) <0> oh *sob* <0> a wiki <0> okay, I give up. <0> *mumble mutter* <3> ! <3> 0x10.net/_per/... <4> .. <4> ? <4> <4> <4> - <4> <4> <4> <4> <4> <4> <5> What? <5> Oh, I probably don't have a cyrillic font installed. <5> Or it wasn't utf8. <6> probably just as well... <5> I never got past chapter 1 of my russian text anyway. <7> is greek, no? <1> dont worry, he was just offering to devour your soul. i think he went back to playing counter strike instead <7> lol <5> Erm. <5> OKay. <5> I ***umed russian because it was a .ru address.
Return to
#perl or Go to some related
logs:
yahodia #india #allnitecafe #kl #photoshop #india Kurgistan Lake rustymemory slam namaste Bangalore Shukar
|
|