more useful options | |
PerlMonks |
Re: How to prepare a file for insert into MSSQLby EvanCarroll (Chaplain) |
on May 15, 2007 at 19:38 UTC ( [id://615634]=note: print w/replies, xml ) | Need Help?? |
I'm not sure what your question is, but you use binmode if you are reading in a non-text-file, and you use pack to prepare to write a data structure in a specified format. I'm guessing you need binmode, and not pack.
You probably more want to look into $sth->bind_param, as some DBDs require you to manually bind them to use blob functionality. Run a quick google for Sybase, and blob. Evan Carroll www.EvanCarroll.com
In Section
Seekers of Perl Wisdom
|
|