<?xml version="1.0" encoding="windows-1252"?>
<node id="618653" title="Re: The future of Text::CSV_XS - TODO" created="2007-06-01 03:00:26" updated="2007-05-31 23:00:26">
<type id="11">
note</type>
<author id="200365">
Tux</author>
<data>
<field name="doctext">
&lt;p&gt;Thanks for the links. I'll scan them.&lt;/p&gt;
&lt;p&gt;Meanwhile [mod://Text::CSV_XS] 0.27 has left the building and should be available to all when CPAN synced your favourite mirror.&lt;/p&gt;
&lt;code&gt;
2007-05-31  0.27 - H.Merijn Brand

        * checked with perlcritic (still works under 5.00504)
          so 3-arg open cannot be used (except in the docs)
        * 3-arg open in docs too
        * Added a lot to the TODO list
        * Some more info on using escape character (jZed)
        * Mention Text::CSV_PP in README
        * Added t/45_eol.t, eol tests
        * Added a section about embedded newlines in the pod
        * Allow \r as eol ($/) for parsing
        * More docs for eol
        * More eol = \r fixes, tfrayner's test case added to t/45_eol.t
&lt;/code&gt;

&lt;p&gt;Work already progresses for the next [http://www.xs4all.nl/~hmbrand/Text-CSV_XS-0.28.tar.gz|snapshot] that is to include ways to allow buggy formats&lt;/p&gt;
&lt;code&gt;
2007-06-01  0.28 - H.Merijn Brand

        * Added allow_loose_quotes  (see doc)
        * Added t/65_allow.t
        * Added allow_loose_escapes (see doc) RT 15076

=item allow_loose_quotes

By default, parsing fields that have C&lt;quote_char&gt; characters inside
an unquoted field, like

 1,foo "bar" baz,42

would result in a parse error. Though it is still bad practice to
allow this format, we cannot help there are some vendors that make
their applications spit out lines styled like this.

=item allow_loose_escapes

By default, parsing fields that have C&lt;escapee_char&gt; characters that
escape characters that do not need to be escaped, like:

 my $csv = Text::CSV_XS-&gt;new ({ esc_char =&gt; "\\" });
 $csv-&gt;parse (qq{1,"my bar\'s",baz,42});

would result in a parse error. Though it is still bad practice to
allow this format, this option enables you to treat all escape character
sequences equal.
&lt;/code&gt;
&lt;p&gt;I'm playing to see if &lt;c&gt;allow_whitespace&lt;/c&gt; is also feasable&lt;/p&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-200365"&gt;
&lt;br /&gt;
Enjoy, Have FUN! H.Merijn
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
617577</field>
<field name="parent_node">
617577</field>
</data>
</node>
