Name : perl-Text-CSV-Easy_XS
| |
Version : 0.54
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 7.74
| Date : 2024-08-28 23:42:19
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-CSV-Easy_XS-0.54-7.74.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Easy (and fast) CSV parsing and building
|
Description :
Text::CSV::Easy_XS is a simple module for parsing and building CSV lines. This module is written in XS, which is much faster than the PurePerl alternative (Text::CSV::Easy_PP). You can use Text::CSV::Easy directly and it will make the best decision on which module to use.
This module conforms to RFC 4180 (http://tools.ietf.org/html/rfc4180) for both parsing and building of CSV strings.
* 1. Use commas to separate fields. Spaces will be considered part of the field.
abc,def, ghi => ( \'abc\', \'def\', \' ghi\' )
* 2. You may enclose fields in quotes.
\"abc\",\"def\" => ( \'abc\', \'def\' )
* 3. If your field contains a line break, a comma, or a quote, you need to enclose it in quotes. A quote should be escaped with another quote.
\"a,b\",\"a\ b\",\"a\"\"b\" => ( \'a,b\', \"a\ b\", \'a\"b\' )
* 4. A trailing newline is acceptable (both LF and CRLF).
abc,def\ => ( \'abc\', \'def\' ) abc,def\\r\ => ( \'abc\', \'def\' )
When building a string using csv_build, all non-numeric strings will always be enclosed in quotes.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/x86_64 |