1OpenFrame::Argument::BlUosbe(r3)Contributed Perl DocumenOtpaetniForname::Argument::Blob(3)
2
3
4
6 OpenFrame::Argument::Blob - handling for filehandle-style data in net‐
7 work requests
8
10 use OpenFrame::Argument::Blob;
11
12 my $blob = OpenFrame::Argument::Blob->new();
13
14 $blob->filename( 'somefilename.dat' );
15 $blob->filehandle( $fh );
16
17 my $filename = $blob->filename;
18 my $filehandle = $blob->filehandle;
19
21 "OpenFrame::Argument::Blob" is a class to support things such as
22 browser-based uploads. It provides a mechanisms to get the filehandle
23 and filename of the uploaded element.
24
26 filename( [ SCALAR ] )
27 The "filename()" method gets/sets the value of the filename
28 attribute of the class. This should return the filename of the
29 uploaded data.
30
31 filehandle( [ IO::Handle ] )
32 The "filehandle" method gets/sets the value of the filehandle that
33 points to the uploaded data.
34
36 "OpenFrame::Argument::Blob" inherits from the "OpenFrame::Object" class
37 and provides all methods that its super class does.
38
40 James A. Duncan <jduncan@fotango.com>
41
43 Copyright 2002 Fotango Ltd. All Rights Reserved.
44
45 This code is released under the GNU GPL and Artistic licenses.
46
47
48
49perl v5.8.8 2004-08-05 OpenFrame::Argument::Blob(3)