#perl - Thu 12 Apr 2007 between 03:31 and 04:45

NY Lost Funds



Colrolthanks
actionColrol == Noob
Colrol== Noob
f00li5hColrol: "Colrol eq Noob" # string comparison
Colrolexactly
Patternerref(Colrol) eq 'Noob'
hobbsno actually the numerical comparison works better
eval: Colrol == Noob
buubothobbs: 1
Patternereval: everybody == Noob
buubotPatterner: 1
CaelumGumbyBRAIN: explain Noob
GumbyBRAINBut it was a serial port you noob.
hobbseval: everybody, everybody
buubothobbs: everybody
Caelumfinally done with work for today, argh
aussieaubsanyone have a function that will compare 2 lists and return a number based on the like items in that list (list = 2 arrays of x items long)
list::compare ??
revdiabloReturn a number?
What number?
aussieaubssorry - a function that returns the number of like items in the array....
jimitems like what?
revdiabloperldoc -q intersection
jimif no answer, there can be more than one sets of like items... so you want an array?
revdiabloI think he wants to know how many elements are in the intersection of two arrays
jimohh
revdiabloThankfully the FAQ provides a nice little example
hobbsmanco =~ s/$/w/
Aankhen``Heh.
simcop2387perlbot search array
perlbotSearch results for 'array' can be found here: http://xrl.us/vp9t
actionsimcop2387 loses faith in humanity again
simcop2387loses faith in humanity again
Array::PAT again
actionCPAN upload: Net-SSL-ExpireDate-1.04 by HIROSE
CPANupload: Net-SSL-ExpireDate-1.04 by HIROSE
aussieaubsah thanks guys
revdiablo - what is the url for the FAQ??
f00li5haussieaubs: which faq?
revdiabloaussieaubs: You should have it installed on your system
aussieaubs: Try running "perldoc -q intersection" in a console
aussieaubsah ok thanks ... reading now.... thanks mates :)
revdiabloNo problemo

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive

NY Lost Funds