in reply to Re^2: File download from BLOB
in thread File download from BLOB

But the PDF is un-openable

You haven't mentioned what platform you're on, so this is just a guess...

Often, the issue rendering files un-openable is inadvertently having applied linefeed translations to binary formats (such as PDF).  So try using binmode on the file handle $m before writing the blob to it.