Plack::TempBuffer - temporary buffer to save bytes
my $buf = Plack::TempBuffer->new($length); $buf->print($bytes); my $size = $buf->size; my $fh = $buf->rewind;
Plack::TempBuffer 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.
Plack Plack::Request
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.