#perl - Sat 10 Mar 2007 between 12:16 and 12:31



dazjorzI got a package with some Ubuntu cd's and stickers.
Juerd: Ok, thanks :)
JuerdThe idjts should have used vinyl stickers.
LeoNerdJuerd: Ahh OK... I'll look into doing that across all my modules then
JuerdLeoNerd: Thanks. It's a lot of work, but it'll help people who use those tools.
Khisanthhrm
is that what breaks s.c.org/perldoc/Module links?
LeoNerdJuerd: nothing sed -i s/// won't fix :)
JuerdLeoNerd: Are you insane?
LeoNerd: perl -i -pe's///'!! :)
Limbic_Regionif you are going to use something other than perl, at least a tool that can do something perl can't like awk
LeoNerd"<Juerd> LeoNerd: Are you insane?" <== no comment ;)
JuerdLeoNerd: :P
shigetsuwho's responsible for CPAN (the bot)?
dazjorzLeoNerd: if I wrap the handle in a Notifier, it doesn't need to be in a Buffer anymore, right?
omg, I don't get this thing
LeoNerd: my $new_client = $socket->accept(); # What the? Accept a new socket every time I can read? Damn, I don't understand this thing
LeoNerddazjorz: That's an example in Notifier... if you'd use it to wrap a listening socket
You're not doing that. So don't worry about that.
You're wanting to use a Buffer I'd imagine, which is a subclass of Notifier
(which handles all the base reading and writing tasks)
dazjorzOkay
merlyn& enroute sjc to pdx thence home
dazjorzLeoNerd: ->add_child is for Notifier, if I make buffers, I need to add them to a Notifier... I only have a Set..?
LeoNerddazjorz: Do you understand the concept of a subclass
?
A Buffer is already a Notifier - it's a subclass of it
$container->add_child() wants a Notifier or anything that's a subclass.. such as a Buffer
dazjorzLeoNerd: I know, I know
actionLeoNerd ( wonders if in fact the Set should have been called a Dispatcher instead.... )
LeoNerd( wonders if in fact the Set should have been called a Dispatcher instead.... )
Since that would more clearly highlight what its purpose is
dazjorzLeoNerd: but add_child() is in Notifier, so I'd call $notifier->add_child($buffer); # however, I don't _have_ a notifier...
LeoNerd: unless Set has add_child() too?
LeoNerddazjorz: Ah, I was thinking you'd add it as a child of the FastCGI request
Though I failed to note in the docs it's really an IO::Async::Buffer.
Though in fact, that might change in future so just shove it in the Set
dazjorzI have no idea of what I need to do now.
Juerddazjorz: Whenever that happens, take a break.
LeoNerdGive me an hour or so to fix up some bugs on FCGI 0.09, and release it, and I'll let you know
dazjorzLeoNerd: this is mind-blazing, I only need to make a script that runs an executable with some arguments, catch the response, and print it as an answer to CGI...

Page: 5 12 19 26 33 40 47 54 61 68 75 82 89 

IrcArchive