aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-File-NCopy/pkg-descr
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-05-18 14:17:52 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-05-18 14:17:52 +0000
commite6cb8b8dbd250d99c65845464aeebdb3632e162c (patch)
tree905ea5abf6afa5476a419f920e524e104b671594 /devel/p5-File-NCopy/pkg-descr
parent6d2c80a2a3573729c478e8a5b486aa56edabf61a (diff)
downloadports-e6cb8b8dbd250d99c65845464aeebdb3632e162c.tar.gz
ports-e6cb8b8dbd250d99c65845464aeebdb3632e162c.zip
Add p5-File-NCopy 0.34, copy file(s) to directories/file.
Notes
Notes: svn path=/head/; revision=81246
Diffstat (limited to 'devel/p5-File-NCopy/pkg-descr')
-rw-r--r--devel/p5-File-NCopy/pkg-descr19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/p5-File-NCopy/pkg-descr b/devel/p5-File-NCopy/pkg-descr
new file mode 100644
index 000000000000..6b603931c767
--- /dev/null
+++ b/devel/p5-File-NCopy/pkg-descr
@@ -0,0 +1,19 @@
+File::NCopy::copy copies files to directories, or a single file to
+another file. You can also use a reference to a file handle if you wish
+whem doing a file to file copy. The functionality is very similar to
+cp. If the argument is a directory to directory copy and the recursive
+flag is set then it is done recursively like cp -R. In fact it behaves
+like cp on Unix for the most part.
+
+If called in array context, an array of successful copies is returned,
+otherwise the number of succesful copies is returned. If passed a file
+handle, it's difficult to make sure the file we are copying isn't the
+same that we are copying to, since by opening the file in write mode it
+gets pooched. To avoid this use file names instead, if at all possible,
+especially for the to file. If passed a file handle, it is not closed
+when copy returns, files opened by copy are closed.
+
+WWW: http://search.cpan.org/dist/File-NCopy/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org