NAME
PApp::FormBuffer - a re-blocking buffer for multipart streams
SYNOPSIS
use PApp::FormBuffer;
DESCRIPTION
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.
- new attr => val, ...
-
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)
Supported Methods
READ
READLINE
EOF
skip_boundary
SEE ALSO
PApp.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/