There's more than one way to do things | |
PerlMonks |
Re: Insert BLOB into DB without using system memory, but using filehandle.by stonecolddevin (Parson) |
on Sep 18, 2009 at 20:56 UTC ( [id://796200]=note: print w/replies, xml ) | Need Help?? |
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
|
|