in reply to Perl to upload blob file to Mysql

Binmode the file after opening. Read the file using read(). If needed, specify the data type with bind_param() when inserting.