perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject apr_brigade_flatten
Date Fri, 16 Jan 2004 20:07:05 GMT
hi all

joe schaefer suggested on modperl@ that having access to apr_brigade_flatten
might be of use.  at least in the context of Apache::Request::Upload you
could use

  my $upload_data = $req->upload('file')->bb->flatten;

to essentially slurp up the file without iterating the brigade manually.

I'm not sure about how this would fit into filters, since I guess there are
multiple brigades, but I'm not sure.

anyway, any arguments against opening it up? (with tests, of course :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message