06 Jun 2014 14:43:08 UTC
- Distribution: Stream-Buffered
- Module version: 0.03
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (19630 / 1 / 0)
- KwaliteeBus factor: 1
- 87.74% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity24 month
- Download (10.11KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Stream::Buffered - temporary buffer to save bytes
my $buf = Stream::Buffered->new($length); $buf->print($bytes); my $size = $buf->size; my $fh = $buf->rewind;
Stream::Buffered is a buffer class to store arbitrary length of byte strings and then get a seekable filehandle once everything is buffered. It uses PerlIO and/or temporary file to save the buffer depending on the length of the size.
This module is part of Plack, released as a separate distribution for easier reuse.
The following copyright notice applies to all the files provided in this distribution, including binary files, unless explicitly noted otherwise.
Copyright 2009-2011 Tatsuhiko Miyagawa
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Stream::Buffered, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Stream::Buffered
For more information on module installation, please visit the detailed CPAN module installation guide.