Front page | perl.books.workers |
Postings from August 2002
From: Dave Rolsky
August 28, 2002 20:54
Message ID: Pine.LNX.email@example.com
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).
we await the New Sun