#perl - Tue 13 Mar 2007 between 14:06 and 14:08



DavemanYeah :p
shaggyoafOk, this has been driving me crazy for an hour: I set my $s = "asdf"; but if($s == "asd") evaluates true... why is that?
rmahSemaphore`: I'm a "this is my f*cking glass and if you touch it, I'll bust a cap in yo ass" kind of guy
LeoNerdBecuase that is what programs will call if you try to use that hostname to connect
Whereas nslookup, Net::DNS, and friends, are all DNS-lookups
semaphore`rmah: heh
dazjorzoops again
wozzecki'm not trying to connect
DavemanI've been checking out the various socket/server modules available on the cpan, these dyas.
days.
wozzeckcan someone write up the code very quickly?
rmahDaveman: I like Event.pm
bynarishaggyoaf: Because "asd" is not a number
wozzecki just need it to lookup the ip
that's all
semaphore`You're a dear friend and all, but you're not getting my Budlight
LeoNerdwozzeck: Socket6 has an example
wozzeckk
Davemanooh, what's the part of?
rmahonly downside is that Event.pm isn't threadsafe
dazjorzLeoNerd: seems like the program forks etc all well
rmahbut you may not care
Davemanheh
yeah
rmahEvent.pm is part of Event.pm
shaggyoafbynari: ...neither is $s
Davemanhaha
shaggyoafbynari: what is it I'm not understanding?
bynariExactly, shaggyoaf
Davemanmy app would be asynchronous
dkrshaggyoaf: == is fo rnumerical comparison. use "eq"
dazjorzbut each time one child is left behind or so
rmahDaveman: then Event.pm is for you
dazjorzLeoNerd: I think $SIG{CHLD} might be called once for two died childs or so
Davemanyay
shaggyoafdkr: oh, like in bash
Davemanrmah, how's the interfaces -- I'll go check it out :)
LeoNerddazjorz: That's OK... note the while() loop
rmaha bit lower level than the "net server" packages out there
actionBinGOs coughs.
BinGOscoughs.

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

IrcArchive