1 Revision history for Perl extension File::FastSlurp.
3 9999.13 Tue Oct 10 02:04:51 EDT 2006
4 - Refactored the extras/slurp_bench.pl script. It has options,
5 a key the benchmarks, help and more benchmarks.
6 - Reordered changes so recent entries are first
8 9999.12 Thu Feb 2 02:26:31 EST 2006
9 - Fixed bug on windows with classic slurping and File::Slurp not
10 agreeing on newline conversion.
11 - Added t/newline.t test to check for that fix.
12 - When passing text data by scalar reference to write_file under
13 windows, the buffer is copied so the newline conversion won't
14 modify the caller's data.
15 - Thanks to Johan Lodin <lodin@cpan.org> for a test script which
16 I modified into t/newline.t
18 9999.11 Fri Jan 20 01:24:00 EDT 2005
19 - Quick release to remove code that forced the faked SEEK_*
20 values to be used. Showed up when tested on OSX which doesn't
23 9999.10 Thu Jan 19 11:38:00 EDT 2005
24 - t/*.t modules don't use Fcntl.pm
25 - using POSIX qw( :fcntl_h ) instead of Fcntl qw( :seek ) for
26 backwards compatiblity to 5.00503
27 - added conditional definitions of SEEK_* and O_* subs as they are not
29 - File::Slurp now runs on perl 5.004 and newer (see BUGS section)
30 All of the above thanks to Smylers <Smylers@stripey.com>,
31 Piers Kent <piers.kent@bbc.co.uk> and
32 John Alden <john.alden@bbc.co.uk>
33 - Added pod.t and pod_coverage.t tests. This is to pass all
36 9999.09 Tue Apr 19 01:21:55 EDT 2005
37 - t/original.t and read_dir.t no longer search for tempdirs. they just
38 use the current dir which should be in the build directory
39 - t/readdir.t renamed to read_dir.t for consistancy
40 - write_file return values are docuemented
41 Thanks to Adam Kennedy <adamk@cpan.org>
42 - added no_clobber option to write_file and t/no_clobber.t test for it
43 Thanks to <pagaltzis@gmx.de>
44 - fixed bug when appending a null string to a file which then
45 truncates it. seems to be an odd way for linux and OS X to
46 handle O_APPEND mode on sysopen. they don't seek to the end of
47 the file so it gets truncated. fixed by adding a seek to the
48 end if in append mode.n
49 Thanks to Chris Dolan <cdolan@cpan.org>
52 9999.08 Sat Apr 16 01:01:27 EDT 2005
53 - read_dir returns an array ref in scalar context
54 - read_dir keeps . and .. if keep_dot_dot option is set.
55 Thanks to John Alden <john.alden@bbc.co.uk>
56 - slurp() is an optional exported alias to read_file
57 Thanks to Damian Conway <damian@conway.org>
61 9999.07 Tue Jan 25 01:33:11 EST 2005
62 - Slurping in pseudo files (as in /proc) which show a size of 0
63 but actually have data works. This seems to be the case on
64 linux but on Solaris those files show their proper size.
65 Thanks to Juerd Waalboer <juerd@cpan.org>
68 9999.06 Mon Sep 20 01:57:00 EDT 2004
69 - Slurping the DATA handle now works without the workaround.
70 tests are in t/data_scalar.t and t/data_list.t
71 - Paragraph mode in read_file is supported. As with <> when $/
72 (input record separator) is set to '', then the input file is
73 split on multiple newlines (/\n\n+/).
74 Thanks to Geoffrey Leach <geoff@direcway.com>
77 9999.05 Tue Feb 24 21:14:55 EST 2004
78 - skip handle tests where socketpair is not supported (pre 5.8
80 Thanks to Mike Arms <marms@sandia.gov>
83 9999.04 Mon Feb 23 14:20:52 EST 2004
84 - fixed DATA handle bug in t/handle.t (not seen on most OS's)
85 Thanks to James Willmore <jwillmore@adelphia.net>
88 9999.03 Mon Dec 22 01:44:43 EST 2003
89 - fixed DATA handle bugs in t/handle.t on osx (should be fixed
91 - added more comments to code
93 9999.02 Wed Dec 17 03:40:49 EST 2003
94 - skip DATA test in handle.t on OSX (bug in perl with sysread on DATA)
95 - changed checking if file handle from fileno to ref
96 from Randal Schwartz <merlyn@stonehenge.com>
97 - added support for atomic spewing
98 - added new test stdin.t for the fileno/ref change
99 - added new test inode.t to test atomic spewing
101 9999.01 Mon Sep 1 00:20:56 2003
102 - original version; created by h2xs 1.21 with options
103 -AX -n File::FastSlurp