On Fri, 16 Sep 2005 00:25:24 +0300 "Nikolay Ananiev" <[EMAIL PROTECTED]> 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); Why would you want to do that? Just use normal file usage or if you really want to read it by exactly 2048 bytes at a time something like sysread(). --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------