On Fri, Sep 16, 2005 at 12:25:24AM +0300, Nikolay Ananiev wrote: > > > I'd like to do the following: > open $fh, '<', 'some_file'; # A very big file > $b = APR::Bucket->new($ba, $fh); > > while($b->read($buffer, 2048)) { > ..... > } > > or > $b = APR::Bucket->new($ba, \*STDIN); > > > > > > I'm not sure what you are trying to do in the above. If you are trying to make brigades usuable as filehandles then try Apache2::TieBucketBrigade http://search.cpan.org/~mock/Apache2-TieBucketBrigade-0.07/
mock