summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-02-08 02:56:23 +0000
committermarkd <markd@pkgsrc.org>2016-02-08 02:56:23 +0000
commit72338b4c978e5ef951df891c2cc49afd17da9c0a (patch)
treed1ba14c12f7a3c18fe08fadbbb001d11fd11ff03 /textproc
parentf195dedf1bfff4ec16c7c414c80f1f794e59ffba (diff)
downloadpkgsrc-72338b4c978e5ef951df891c2cc49afd17da9c0a.tar.gz
Add p5-Text-xSV 0.21
This module is for reading and writing a common variation of character separated data. The most common example is comma-separated. However that is far from the only possibility, the same basic format is exported by Microsoft products using tabs, colons, or other characters. The format is a series of rows separated by returns. Within each row you have a series of fields separated by your character separator. Fields may either be unquoted, in which case they do not contain a double-quote, separator, or return, or they are quoted, in which case they may contain anything, and will encode double-quotes by pairing them. In Microsoft products, quoted fields are strings and unquoted fields can be interpreted as being of various datatypes based on a set of heuristics. By and large this fact is irrelevant in Perl because Perl is largely untyped. The one exception that this module handles that empty unquoted fields are treated as nulls which are represented in Perl as undefined values. If you want a zero-length string, quote it.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Text-xSV/DESCR17
-rw-r--r--textproc/p5-Text-xSV/Makefile18
-rw-r--r--textproc/p5-Text-xSV/distinfo6
3 files changed, 41 insertions, 0 deletions
diff --git a/textproc/p5-Text-xSV/DESCR b/textproc/p5-Text-xSV/DESCR
new file mode 100644
index 00000000000..22aeba59c04
--- /dev/null
+++ b/textproc/p5-Text-xSV/DESCR
@@ -0,0 +1,17 @@
+This module is for reading and writing a common variation of character
+separated data. The most common example is comma-separated. However
+that is far from the only possibility, the same basic format is
+exported by Microsoft products using tabs, colons, or other
+characters.
+The format is a series of rows separated by returns. Within each row
+you have a series of fields separated by your character
+separator. Fields may either be unquoted, in which case they do not
+contain a double-quote, separator, or return, or they are quoted, in
+which case they may contain anything, and will encode double-quotes by
+pairing them. In Microsoft products, quoted fields are strings and
+unquoted fields can be interpreted as being of various datatypes based
+on a set of heuristics. By and large this fact is irrelevant in Perl
+because Perl is largely untyped. The one exception that this module
+handles that empty unquoted fields are treated as nulls which are
+represented in Perl as undefined values. If you want a zero-length
+string, quote it.
diff --git a/textproc/p5-Text-xSV/Makefile b/textproc/p5-Text-xSV/Makefile
new file mode 100644
index 00000000000..93a2c9cb7d8
--- /dev/null
+++ b/textproc/p5-Text-xSV/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/02/08 02:56:23 markd Exp $
+#
+
+DISTNAME= Text-xSV-0.21
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Text-xSV/
+COMMENT= Read character separated files
+LICENSE= ${PERL5_LICENSE}
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Text/xSV/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-xSV/distinfo b/textproc/p5-Text-xSV/distinfo
new file mode 100644
index 00000000000..40b2e5ce7af
--- /dev/null
+++ b/textproc/p5-Text-xSV/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/02/08 02:56:23 markd Exp $
+
+SHA1 (Text-xSV-0.21.tar.gz) = 2cb6d8d40690bb7a422506294ad1bafbcf65c435
+RMD160 (Text-xSV-0.21.tar.gz) = 8b700801500419b4703d867cb64c46a152f1208d
+SHA512 (Text-xSV-0.21.tar.gz) = f04d83477805f6f43654d6ca15ee16c7bc213895b05cce4e784432c8ada070fe22de2e34464c2de5ce8ce3fb9c155ad1aaa1b9f19a032c49935fe9dd1eca25bb
+Size (Text-xSV-0.21.tar.gz) = 15529 bytes