in reply to DBI and inserting binary data

You need to pack your data, maybe like :
$hexdata1 = pack("H*",$hexform1);
I believe that will take care of it.
from the frivolous to the serious