OpenFra...nt::Blob(3)
π OpenFra...nt::Blob(3) π
okay so bestie, welcome to the OpenFrame::Argument::Blob page, from the User Contributed Perl Documentation collection. this is the manual for handling filehandle-style data in network requests. yes, it's as niche as it sounds and yes, it's lowkey iconic. let's go π
β¨ NAME β¨
OpenFrame::Argument::Blob β handling for filehandle-style data in network requests
π¦ SYNOPSIS π¦
here's the whole vibe, fr fr:
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;
see? you make one, you set the filename, you set the filehandle, and then you read them right back out. main character energy honestly β¨
πΈ DESCRIPTION πΈ
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.
(not me keeping that "a mechanisms" exactly as written β the grammar is a little goofy but that's the original, no cap π«Ά)
so basically: someone uploads a file through a browser, and you need to get your hands on which file and the handle to its data. that's the whole job. that's the assignment. and it ate. π₯
π METHODS π
filename( [ SCALAR ] )
The filename() method gets/sets the value of the filename attribute of the class. This should return the filename of the uploaded data.
give it a scalar and it stores it, call it with nothing and it hands the filename right back to you. obsessed. π
filehandle( [ IO::Handle ] )
The filehandle method gets/sets the value of the filehandle that points to the uploaded data.
same deal β pass in an IO::Handle, or call it empty and get the handle that points at the uploaded data. periodt. π
π INHERITANCE π
OpenFrame::Argument::Blob inherits from the OpenFrame::Object class and provides all methods that its super class does.
so everything OpenFrame::Object can do? yeah, this baby can do it too. it's giving nepo baby but make it useful πβ¨
π AUTHOR π
James A. Duncan <jduncan@fotango.com>
β COPYRIGHT β
Copyright 2002 Fotango Ltd. All Rights Reserved.
This code is released under the GNU GPL and Artistic licenses.
two licenses bestie, you get to pick, that's the generosity π
and that's the whole page! slay π¦
this was documented by User Contributed Perl Documentation, perl v5.42.0, dated 2025-07-25. love that for us. bye bestie, go upload something cute πΈπβ¨
π¦ where this page comes from
- fedora 43: perl-OpenFrame 3.05-55.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms