John Williams <[EMAIL PROTECTED]> writes: [...]
> Request for libapreq2 developers: Could you please either remove or > document this gotcha? The gotcha here is really a generic issue (ie working with bucket brigades through the APR:: modules) so maybe it is (or needs to be) addressed in the mp2 docs. However I wonder why you want to remove the buckets at all? With $upload->bb you probably shouldn't do that, because you're throwing data away that later modules/filters may yet want to use. Btw this is something that changed from 2.02 to 2.03 (we used to give you a copy of the brigade, so you *had* to remove the buckets yourself). There's also a new io() method coming in the coming 3.04-dev release that gives you a brigade copy like $upload->bb used to do, but it has a TIEHANDLE api superimposed. That way you can use perl's read() or <> operator to consume the buckets in $upload->io(). -- Joe Schaefer -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html