<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>CSV files are not always comma separated.
The DBD::CSV engine can have different field and record separators.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>From the man page it seems “:”
is a common, if not default field separator, if that is the case your input
would need quoting/escaping to encapsulate the “:” in the record.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>You can adjust the various separators and escape
character to control quoting.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mark<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
toronto-pm-bounces+mfowle=navicominc.com@pm.org
[mailto:toronto-pm-bounces+mfowle=navicominc.com@pm.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Fulko Hew<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, July 24, 2009 2:41
PM<br>
<b><span style='font-weight:bold'>To:</span></b> TPM<br>
<b><span style='font-weight:bold'>Subject:</span></b> [tpm] writting dateTime
in DBI::CSV</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>Can anyone tell me how to store a 'date/time' in a
DBI::CSV file?<br>
<br>
ie. 01-MAY-2009 00:00:00<br>
<br>
Because... if I use something like:<br>
<br>
$dateTime = "01-MAY-2009 00:00:00";<br>
INSERT INTO table (DATE) values ( '$dateTime' )<br>
<br>
then what's written is a quoted dateTime string:<br>
<br>
"01-MAY-2009 00:00:00"<br>
<br>
not the value itself:<br>
<br>
01-MAY-2009 00:00:00<br>
<br>
</span></font><o:p></o:p></p>
<div>
<textarea class="Ah nr" style="height: 36px;"></textarea>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Let people know what you're up to, or share links to photos, videos,
and web pages.<o:p></o:p></span></font></p>
</div>
</div>
<div style='-moz-user-select: none' id=goog-acr-0>
<div style='-moz-user-select: none' id=goog-acri-149>
<div style='-moz-user-select: none'>
<div style='-moz-user-select: none'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><<b style='-moz-user-select: none'><span style='font-weight:bold'>fulko</span></b>.<a
href="mailto:hew@gmail.com">hew@gmail.com</a>><o:p></o:p></span></font></p>
</div>
</div>
</div>
<div style='-moz-user-select: none' id=goog-acri-150>
<div style='-moz-user-select: none'>
<div style='-moz-user-select: none'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>"<b style='-moz-user-select: none'><span style='font-weight:bold'>Fulko</span></b>
Hew(w)" <<a href="mailto:fulko.hew@sita.aero">fulko.hew@sita.aero</a>><o:p></o:p></span></font></p>
</div>
</div>
</div>
<div style='-moz-user-select: none' id=goog-acri-151>
<div style='-moz-user-select: none'>
<div style='-moz-user-select: none'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>"<b style='-moz-user-select: none'><span style='font-weight:bold'>Fulko</span></b>
Hew" <<a href="mailto:fhew3@cogeco.ca">fhew3@cogeco.ca</a>><o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
<div tabindex=-1 style='-moz-user-select: none'>
<div style='-moz-user-select: none' id=":1j7">
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Ignore<o:p></o:p></span></font></p>
</div>
</div>
<div style='-moz-user-select: none' id=":1j8">
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Edit Word<span style='display:none'><o:p></o:p></span></span></font></p>
</div>
</div>
</div>
</div>
</body>
</html>