aboutsummaryrefslogtreecommitdiffstats
path: root/devel/Makefile
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-12-05 01:10:03 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-12-05 01:10:03 +0800
commit142bf24d7416665ad9c629a39e6dd4fb542b6d1e (patch)
tree939b013beb638cbcb013e957da012b24cc17afc7 /devel/Makefile
parent9efea79466b996c7bf1168ece0a5f6ea783b8a44 (diff)
downloadfreebsd-ports-gnome-142bf24d7416665ad9c629a39e6dd4fb542b6d1e.tar.gz
freebsd-ports-gnome-142bf24d7416665ad9c629a39e6dd4fb542b6d1e.tar.zst
freebsd-ports-gnome-142bf24d7416665ad9c629a39e6dd4fb542b6d1e.zip
- Add p5-IO-Detect 0.005
It is stupidly complicated to detect whether a given scalar is a filehandle (or something filehandle like) in Perl. This module attempts to do so, but probably falls short in some cases. The primary advantage of using this module is that it gives you somebody to blame (me) if your code can't detect a filehandle. The main use case for IO::Detect is for when you are writing functions and you want to allow the caller to pass a file as an argument without being fussy as to whether they pass a file name or a file handle. WWW: http://search.cpan.org/dist/IO-Detect/ Feature safe: yes
Diffstat (limited to 'devel/Makefile')
-rw-r--r--devel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index db08051b4c16..421512e6d2ee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2012,6 +2012,7 @@
SUBDIR += p5-IO-Callback
SUBDIR += p5-IO-Capture
SUBDIR += p5-IO-CaptureOutput
+ SUBDIR += p5-IO-Detect
SUBDIR += p5-IO-Digest
SUBDIR += p5-IO-HTML
SUBDIR += p5-IO-Handle-Util