3 new versions checked in finally.
[urisagit/File-Slurp.git] / TODO
1
2 File::Slurp TODO
3
4 NEW FEATURES
5
6 prepend_file() -- prepend text to the front of a file
7
8         options: lock file? enable atomic
9
10 edit_file() -- slurp into $_, call edit code block, write out $_
11
12         options: lock file?
13
14 edit_file_lines()  -- slurp each line into $_, call edit code block,
15         write out $_
16
17         options: lock file?
18
19 read_file_lines()
20         reads lines to array ref or list
21         same as $list = read_file( $file, { array_ref => 1 } 
22         or @lines = read_file()
23
24 new options for read_dir
25         prepend -- prepend the dir name to each dir entry.
26         filter -- grep dir entries with qr// or code ref.
27
28 BUGS:
29
30 restart sysread/write after a signal (or check i/o count)
31
32 FEATURE REQUESTS
33