in reply to Re: Text::CSV_XS issue
in thread Text::CSV_XS issue

not thing interesting here. straight out of the doc's use Text::CSV_XS; # ** ** ** ** ** ** # Create the CSV object $csv = Text::CSV_XS->new();

Replies are listed 'Best First'.
Re^3: Text::CSV_XS issue
by Tux (Canon) on Jan 09, 2008 at 21:17 UTC

    Well, it does matter:

    $ perl -MText::CSV_XS -wle'my$csv=Text::CSV_XS->new();' \ > -e'$csv->combine(1,"foo","bar baz");' \ > -e'print $csv->string' 1,foo,"bar baz" $ perl -MText::CSV_XS -wle'my$csv=Text::CSV_XS->new({quote_char=>undef +});' \ > -e'$csv->combine(1,"foo","bar baz");' \ > -e'print $csv->string' 1,foo,bar baz $ perl -MText::CSV_XS -wle'my$csv=Text::CSV_XS->new({always_quote=>1}) +;' \ > -e'$csv->combine(1,"foo","bar baz");' \ > -e'print $csv->string' "1","foo","bar baz" $

    Enjoy, Have FUN! H.Merijn