Re: [mp2]APR::Brigade issues

2004-05-28 Thread Tom Schindl
Ok. I have no idea of the C-API so things should be fine. Tom Stas Bekman wrote: Tom Schindl wrote: More perlish would be: insert_head => unshift insert_tail => push Although these method-names are perfect. I should have mentioned that we want to stay as close as possible to the C API and change

Re: [mp2]APR::Brigade issues

2004-05-28 Thread Stas Bekman
Tom Schindl wrote: More perlish would be: insert_head => unshift insert_tail => push Although these method-names are perfect. I should have mentioned that we want to stay as close as possible to the C API and change things only when things aren't quite perlish (like when C passes its arguments by

[mp2]APR::Brigade issues

2004-05-28 Thread Tom Schindl
More perlish would be: insert_head => unshift insert_tail => push Although these method-names are perfect. next($b) => next() prev($b) => prev() I don't know whether my conception is right but $bb is something like an iterator. Why does one have to pass $bb->next($b) $b, wouldn't $bb->next() that