PApp::FormBuffer - a re-blocking buffer for multipart streams
use PApp::FormBuffer;
PApp::FormBuffer is a utility class that converts a file handle into a filehandle that emulates multiple virtual files that are separated by a boundary strings, just what's required to parse multipart form data. It should be used via perls tie interface.
fh filehandle to use (only read()) is ever called boundary the "file"-part boundary rsize max. number of bytes to read bufsize the approx. buffer size (def. 32768)
READ READLINE EOF skip_boundary
PApp.
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/
To install PApp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PApp
CPAN shell
perl -MCPAN -e shell install PApp
For more information on module installation, please visit the detailed CPAN module installation guide.