Jeff, All,

Thank you very much for that information. My code's working now.

Regards,
Prakash


On 6/1/08, Jeff Zucker <[EMAIL PROTECTED]> wrote:
>
> ReneeB wrote:
>
>>
>> Why do you use the Windows line endings as the default? Why not the value
>> of $/?
>>
>> Because 1) the module was already several years old and widely used when I
> inherited it and I didn't want to break backward compatability 2) Because, I
> think using $/ would be a disaster since you'd never be able to depend on
> consistency within the program since you wouldn't know where or by what that
> had been set and 3) if we have to make either people who access *nix files
> or people who access winodws files do something that takes a tiny bit of
> smarts (like knowing what the line endings are in a file), better depend on
> the *nix people to figure it out :-).  Now that Ubuntu etc. have opened up
> the field that's less true than it used to be but eight or ten years ago
> when I made the decision, it seemed like the right one.  I'm afraid I still
> don't see a reason to change it.
>
> --
> Jeff
>
> See also https://rt.cpan.org/Public/Bug/Display.html?id=20340
>>
>> Try adding this :
>>>
>>>   $dbh->{'csv_tables'}->{'info'} = {
>>>       'file' => 'testtable.csv',
>>>       'eol'  => "\n"
>>>   };
>>>
>>> Be sure to use double quotes qround the \n.  If that doesn't work try a
>>> line ending specific to your OS (e.g. '\012' for *nix).
>>>
>>>
>>
>> Cheers,
>> Renee
>>
>>
>>
>

Reply via email to