summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2011-06-07 08:06:16 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2011-06-07 08:06:16 +0000
commit9d4173f2716c2f9a2d26f8f9ab0f47b351b87de7 (patch)
tree98ae3fb82096d8bb96686512ada27fa72126b09a /TODO
downloadFile-Slurp-tarball-master.tar.gz
Diffstat (limited to 'TODO')
-rw-r--r--TODO33
1 files changed, 33 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..9af7980
--- /dev/null
+++ b/TODO
@@ -0,0 +1,33 @@
+
+File::Slurp TODO
+
+NEW FEATURES
+
+prepend_file() -- prepend text to the front of a file
+
+ options: lock file? enable atomic
+
+edit_file() -- slurp into $_, call edit code block, write out $_
+
+ options: lock file?
+
+edit_file_lines() -- slurp each line into $_, call edit code block,
+ write out $_
+
+ options: lock file?
+
+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)
+
+FEATURE REQUESTS
+