http://qs1969.pair.com?node_id=615625

myuserid7 has asked for the wisdom of the Perl Monks concerning the following question:

I have dbi,Sybase,freetds setup and have no problem inserting text into MSSQL (SQL 2000).

I have a file on the filesystem, how do I prepare this file to be inserted into MSSQL?

Does the answer lie somewhere in binmode and pack?