>From perldeltat 5.14.0:

Perl source code is read in text mode on Windows

Perl scripts used to be read in binary mode on Windows for the benefit
of the ByteLoader module (which is no longer part of core Perl). This
had the side-effect of breaking various operations on the DATA
filehandle, including seek()/tell(), and even simply reading from DATA
after filehandles have been flushed by a call to system(), backticks,
fork() etc.

The default build options for Windows have been changed to read Perl
source code on Windows in text mode now. ByteLoader will (hopefully)
be updated on CPAN to automatically handle this situation [perl
#28106].

On Mon, Feb 4, 2013 at 1:47 PM, Chris Marshall <[email protected]> wrote:
> FYI-
>
> The problem with the new PDL::NiceSlice on win32 and
> earlier perls is related to \r\n <-> \n translation for text
> files.  By extending the patterns matching \n to allow
> for a possible \r? the filter works.  Not sure why things
> work for more recent perls---perhaps the handling of the
> carriage return/newline translation is done differently.
>
> --Chris

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to