OpenFrame::Argument::Blob - handling for filehandle-style data in network requests
use OpenFrame::Argument::Blob; my $blob = OpenFrame::Argument::Blob->new(); $blob->filename( 'somefilename.dat' ); $blob->filehandle( $fh ); my $filename = $blob->filename; my $filehandle = $blob->filehandle;
OpenFrame::Argument::Blob is a class to support things such as browser-based uploads. It provides a mechanisms to get the filehandle and filename of the uploaded element.
OpenFrame::Argument::Blob
The filename() method gets/sets the value of the filename attribute of the class. This should return the filename of the uploaded data.
filename()
The filehandle method gets/sets the value of the filehandle that points to the uploaded data.
filehandle
OpenFrame::Argument::Blob inherits from the OpenFrame::Object class and provides all methods that its super class does.
OpenFrame::Object
James A. Duncan <jduncan@fotango.com>
Copyright 2002 Fotango Ltd. All Rights Reserved.
This code is released under the GNU GPL and Artistic licenses.
To install OpenFrame, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenFrame
CPAN shell
perl -MCPAN -e shell install OpenFrame
For more information on module installation, please visit the detailed CPAN module installation guide.