|X-Mailer:||MIME-tools 5.405 (Entity 5.404)|
|Subject:||Unexpected newline handling in windows|
This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp.ActiveState is a division of Sophos. Built Feb 3 2004 00:28:51 C:\>pmvers File::Slurp 9999.04 Bug ?? Hmmm...but unpleasant effects if one assumes slurping behaviour is similar to earlier File::Slurp or matches other slurp behaviour. (e.g. Perl6::Slurp) Newline handling is different in Windows. Regexes based in form like like $text =~ m/^(.*?)\n/g on a scalar read_file get unexpected results.. and this breaks quite a few things based on line end matching. Nasty. I've had to revert.