in reply to Re^3: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
in thread Peculiar Error When Loading open Pragma Before Text::CSV_XS Module

If I change the first 4 lines to

package Text::CSV_XS; # Copyright (c)2007-2011 # H.Merijn Brand. All rights reserved. # Copyright (c)1998-2001 # Jochen Wiedmann. All rights reserved.

I also pass this command on Windows/Strawberry. I could make that change, but does it help in the end? I mean, the IO bug is still luring in the backyard.


Enjoy, Have FUN! H.Merijn
  • Comment on Re^4: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
  • Download Code

Replies are listed 'Best First'.
Re^5: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
by Jim (Curate) on Dec 24, 2011 at 20:37 UTC

    I tried that. It doesn't help. No monkeying with the text on the third line resolves the problem. It only changes the text of the error message.

    Thanks, Tux.

    Jim

      I changed it like this with just LF's at the end. No CR's. Bottom line is that when using the open pragma (from the command line), the Module source code is read differently and that only Windows has a problem with that.

      If converting LF's to CRLF's "fixes" all these issues on Windows, I can add a note to the documentation, but I'm not going to convert my line endings to CRLF to wipe this problem under the carpet. It is NOT a problem specific to Text::CSV_XS, as the underlying with aforementioned bug shows and it is not going to solve or fix these problems either.


      Enjoy, Have FUN! H.Merijn