in reply to Re^2: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
in thread Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
Nope!
There was talk on p5p (by Jan Dubois??*) about Perl having to correct the current source file position (when still near the top of the file) to take CRLF endings into account on Windows. Something about reading the source file as a text file, then having to reconstruct the buffer so it would be as if the file had been read as a binary file. Doing so requires assuming the lines end with CRLF. (Well, that's how I vaguely remember it.) I don't remember the context of that talk, but I figured this problem might be related since Perl is apparently treating the middle of a comment as source code.
* — "Jan Dubois" would be an awesome porn star name. du = from the, of the, some; bois = wood, woods
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
by Tux (Canon) on Dec 24, 2011 at 13:36 UTC | |
by Jim (Curate) on Dec 24, 2011 at 20:37 UTC | |
by Tux (Canon) on Dec 25, 2011 at 08:14 UTC | |
|
Re^4: Peculiar Error When Loading open Pragma Before Text::CSV_XS Module
by Jim (Curate) on Dec 24, 2011 at 20:32 UTC |