in reply to Insert BLOB into DB without using system memory, but using filehandle.
Check out DBIx::Class::InflateColumn::FS. It automatically writes your file to the file system and provides a Path::Class object as the record retrieved from the database. This keeps your database clean and stores only the pointers, and allows the filesystem to take care of the image files as it should.
mtfpny
|
---|
In Section
Seekers of Perl Wisdom