Re: blobs
[email protected] (Dave Rolsky) Wed, 28 Aug 2002 22:54:24 -0500 (CDT)
| Newsgroups | perl.books.workers |
|---|---|
| Message-ID | <[email protected]> |
On 28 Aug 2002, Uri Guttman wrote: > no, you must convert it first to a string by using storable (freeze > method) or some other module. then you can insert it into a long field > of type BLOB. This shouldn't be necessary if you are storing raw image data, actually. But I'd strongly recommend just storing filenames in the DB. Why push and pull such large chunks of data from the DB? What's the point? Better yet, simply generate filenames based on the ISBN or something unique like that (id in the db would work too). -dave /*================== www.urth.org we await the New Sun ==================*/