in reply to Perl to upload blob file to Mysql

Not without an error message. You have RaiseError=>1 as an option. What does it say?

If nothing, the most likely thing is you aren't getting anything in $filedata, have you checked it?. You're not checking to see if the call to open() fails either, that's another likely culprit.

Replies are listed 'Best First'.
Re^2: Perl to upload blob file to Mysql
by xspikx (Acolyte) on Aug 29, 2005 at 18:05 UTC
    I did print out the content of $filedata and it contains the binary code. same as I would cat the file itself. Does not error out at all.