X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=TODO;h=9af7980bdbf1a5862a8164a190d5faf19139a52e;hb=HEAD;hp=ea70a250e905cabcd95d822bb06705bea3244bd3;hpb=635c78763e1e35be98a878800a6bc89fe4869389;p=urisagit%2FFile-Slurp.git diff --git a/TODO b/TODO index ea70a25..9af7980 100644 --- a/TODO +++ b/TODO @@ -1,27 +1,33 @@ -optimize read_file for smaller scalar slurps with no options +File::Slurp TODO -prepend_file() +NEW FEATURES - options: lock file? +prepend_file() -- prepend text to the front of a file + + options: lock file? enable atomic -edit_file() +edit_file() -- slurp into $_, call edit code block, write out $_ options: lock file? -edit_file_lines() +edit_file_lines() -- slurp each line into $_, call edit code block, + write out $_ options: lock file? -add options to read_dir - prepend_dir - grep filter qr or code ref +read_file_lines() + reads lines to array ref or list + same as $list = read_file( $file, { array_ref => 1 } + or @lines = read_file() +new options for read_dir + prepend -- prepend the dir name to each dir entry. + filter -- grep dir entries with qr// or code ref. BUGS: restart sysread/write after a signal (or check i/o count) -fix SEEK stuff - +FEATURE REQUESTS