SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Text-xSV rpm build for : OpenSuSE. For other distributions click perl-Text-xSV.

Name : perl-Text-xSV
Version : 0.21 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.6.1 Date : 2023-01-27 18:20:45
Group : Development/Libraries/Perl Source RPM : perl-Text-xSV-0.21-lp154.6.1.src.rpm
Size : 0.43 MB
Packager : https://www_suse_com/
Summary : read character separated files
Description :
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.

People usually naively solve this with split. A next step up is to read a
line and parse it. Unfortunately this choice of interface (which is made by
Text::CSV on CPAN) makes it difficult to handle returns embedded in a
field. (Earlier versions of this document claimed impossible. That is
false. But the calling code has to supply the logic to add lines until you
have a valid row. To the extent that you don\'t do this consistently, your
code will be buggy.) Therefore you it is good for the parsing logic to have
access to the whole file.

This module solves the problem by creating a xSV object with access to the
filehandle, if in parsing it notices that a new line is needed, it can read
at will.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Text-xSV-0.21-lp154.6.1.noarch.rpm
     

Provides :
perl(Text::xSV)
perl-Text-xSV

Requires :
perl(:MODULE_COMPAT_5.26.1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Text
/usr/lib/perl5/vendor_perl/5.26.1/Text/xSV.pm
/usr/share/doc/packages/perl-Text-xSV
/usr/share/doc/packages/perl-Text-xSV/Build
/usr/share/doc/packages/perl-Text-xSV/Changes
/usr/share/doc/packages/perl-Text-xSV/README
/usr/share/doc/packages/perl-Text-xSV/test.csv
/usr/share/man/man3/Text::xSV.3pm.gz

 
ICM