| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Comments:
<0> for($var) { if(case) {} } is preferred over Switch.pm then? <1> Config. To access this perldoc please type, at a command line, 'perldoc Config'. You may also find it at http://perldoc.perl.org/Config.html <2> buubot: shut up <3> It works ! <4> bnovc: no, $dispatch{$var}->(); <2> nah, in OO, dispatch should be a method. <2> $case->dispatch <3> I forgot that when running "perl Term-Prompt.t", the Expect.pl file is in ., while when running "make test", the Expect file is in t/ <4> sub UNIVERSAL::AUTOLOAD {} <5> integral: why are we "in OO" though? ;) <2> each possible case statement on the data corresponds to a method. <4> er, sub UNIVERSAL::dispatch <2> hobbs: it's Enterprisey <4> needs a patch to perl, though <5> integral: Engage! <0> perldoc -q switch doesnt really explain which of the examples is the 'best'/preferred
<2> bnovc: who says any of them are? <0> so i suppose i'll just pick one for now <2> My view would be that needing to use one of them is the problem. <5> bnovc: well let us help you a bit: source filtering ****s mmkay? <0> integral, thats why i was trying to ask if one was <0> integral, why is switching bad? <2> because. <2> stuff like it being a good source of bugs? <0> because...<reason>? <0> how would you prefer to do it <6> mauke: Spits out a crapton of info about build date, modules, and so on and so on and so on. <2> dispatch tables, methods, plain if statements, etc <4> sounds like perl -V, yeah <0> i normally use if{} else{} but it seems most people prefer switch <6> mauke: Oh, cool, thanks. <2> it's all isomorphic anyway, so it's trivial. <2> bnovc: no, they do not. <7> there is also perl -v <7> and perl -h <6> mauke: Any way I can convert that to web? or must I open($fhand, "perl -V|"); ? <0> integral, perhaps not perl people, then ... you think if { } elsif {} best? <2> what's wrong with it? <8> $75 to someone who can help me get a chatbot platform up and running, and add a couple of special features to it. - im me anyone? on here, or on yahoo honorablep***ion <2> nothing is ever "best" <2> it's like saying that "OO is the only paradigm you'll ever need", or s/OO/FP/ or s/OO/FRP/ or s/OO/procedural/ <8> i've got a platform, i just need to have someone edit the brain enough to make it work - and i want somethin somewhat simple <9> chatbots have platfroms? <8> mine :D <2> currently, I say "rule based programming with a RDF datastore is the only paradigm you'll ever need" <10> integral: where else are they going to jump off of? <8> anyone message me for $75, and an amusing project <2> bnovc: actually the superiour technique is guarded come froms. <3> Gtg <3> Cya <11> krysta - please to be posting that to jobs.perl.org <3> krysta, contact me tomorrow <11> not constantly har***ing people here <3> krysta, i'll do it <4> kamoricks: uh, don't "convert to web" <4> kamoricks: why would you want to do that? <3> gtg now <11> and what the hell is a chatbot platform? <11> other than PoCo::IRC? :) <9> that's a mystery <12> ow. <11> And if it's *not* PoCo::IRC, why not? <10> one of the derived modules perhaps :) <7> krysta: use POE <8> poe? <9> no POE <11> Oh geez, here we go <9> :) <11> yet another person hacking their *own* irc framework <10> or perhaps whatever purl is based on <13> workbench is a platform <7> you sign? <11> workbench is POE though, right?
<11> but not PoCo::IRC? <13> It's PoCo::IRC <11> new style or old style? :) <13> 'though an older, more primitive version. <11> ahh <8> 'ya... i'm clueless - a pathetic perl dabbler - who just wants to get this bot thing working :D <14> damn 2.8 second lag <14> there it goes down <13> Stop dabbling and start delving. <7> all CPAN modules should be converted to work with POE, imho <9> use Socket <9> :D <15> read the cookbook on poe <16> hey Luda :) <2> Teratogen: and the whole world should convert to perl6 too <16> genio :o <9> hello dave <16> fancy seeing you here :P <15> dadadadadadadada DAVEMAN <8> would.. if i had my own laptop - someone stole mine a couple mos ago.... and perl was slightly frusterating me then <9> *dananana <9> :) <15> yea, my finger was already on the d. cut me some slack. :p <7> stolen by one of the culturally challenged? <9> stealing is bad mmmkay? <14> whos stealing what? <9> krysta's laptop <14> oh well <14> it didn't have any good porn anyway <9> midget and ducks only huh? <11> why do you want to get a bot working? <11> the world already has too many bots <8> i'm tryn to make a multiplatform/autoconversation filler type bot, save conversation that i've had, and autofill that in the future with exactly the same conversations - if anyone has ideas.. i think i've been told to use leviathon or alpha or somethin along those lines <8> just somethin to make my many conversations alot faster & simpler in time <11> just what we need... more mindless babbling <15> cube it! <8> i dont like explaining myself 1000x over <17> I did indeed spend last Saturday slam-dancing with Alanis Morissette, but only as a symbolic expression of my commitment to ballot access reform. <11> I don't like you building another bot <9> bots of all types one day will go against us humans <8> so bend this to my will :D <11> Ahh - your life story in a movie, eh? :) <7> merlyn =) <7> almost <7> funny movie <13> Bending a bot to your will costs > $75 <8> sold :D <15> krysta: an info bot accomplishes most of what you're wanting. settle for that <9> or you can get a bending machine to do it for free, like bender from futurama <11> yes - build bender first, with meta-bender! <8> i just need a bot that works, multiplatform.. and can SAVE the conversations i have, and play them back as needed.. when it doesn't know what to say, it would pop up a menu, and either A) let me finish the conversation or B) let me put in a sentence or two & let me send it to another part in the conversation (shortcut) <7> a bot with the bends <11> Yeah - we don't need a bot like that, krysta <8> but i do. <11> if you don't want to talk, then get off IRC <11> we don't want to talk to bots. we want to talk to people <8> call it an extension of self. <9> or hot alien chicks <18> krysta: type faster <16> o_O <16> heehee, genio :) <8> i'd be at the helm, talking to several hundred ppl in my club at once <7> I'd settle for a hot irc ch1x0r <18> LudakoT: Good point <16> :p <3> mm <1> mm is probably a 2-layer abstraction library which simplifies the usage of shared memory between forked (and this way strongly related) processes under Unix platforms. On the first layer it hides all platform dependent implementation details (allocation and locking) when dealing with shared memory <1> ..segments and on the second layer it provides a high-level malloc(3)-style API for a convenient and well known way to work with data structures insi <18> .... <16> damnit, so NO one here knows about chainsaws, per chance? hahaha <13> cube it <17> All it takes is one person convinced that they can and should contact extraterrestrials. <18> Daveman: I know they are useful
Return to
#perl or Go to some related
logs:
e3fsprogs aplhabet array ati 9600 tv slow kubuntu
obutu linux #perl installing vmware player suse10.1 DATE_SUB(CURDATE(),INTERVAL 1 HOUR) Setting up GDM +blank Gentoo xchat unig #perl
|
|