![]() |
|
P is for Practical | |
PerlMonks |
Handling/Converting Binary Data Returned via a DBI ODBC Connectionby jmurphy (Acolyte) |
on Jun 28, 2002 at 22:19 UTC ( #178171=perlquestion: print w/replies, xml ) | Need Help?? |
jmurphy has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I working with an application that stores the body of an e-mail within the "text" column (which is a binary datatype) of a SQL Server database table. I'm using Matt's XML::Generator::DBI module and the DBD::ODBC driver to connect to the datasource. According to Matt's documentation he encodes binary data as Base64. I need to convert this binary date (now Base64) back into the original e-mail message however, I'm not quite sure how to tackle the problem. Can anybody offer any help? Here's a code sample showing how I connect to the datasource: The XML output looks as follows: Thanks, Jay
Back to
Seekers of Perl Wisdom
|
|