Hi,

I'd like to register for a home directory at the CPAN's Perl
authors/id tree.

My name:        Hartmut Camphausen
email:          [EMAIL PROTECTED]
www:            http://www.creagen.de/
pref. user ID:  HCAMP or HARC

I would like to upload a Perl module to the CPAN, ESplit.pm. I think
it would fit into the Text::-namespace.

Description:

Esplit.pm, version 1.00
ESplit.pm provides one function, e_split(), to split (sic!) scalar
values
(AKA strings) at arbitrary characters/strings (may be given as regex).
Usefull to deal with CSV data.

- Delimiters contained in quoted strings will be ignored, as well as
\-
  escaped delimiters.
- Delimiters given in () will be returned as n + 1. elements in the
  resulting array (like split()).
- One can tell e_split() to return only the first n elements - or the
  last n elements.

e_split is 2-5 times faster than Text::ParseWords::parse_line.
e_split deals with quoted strings (fields) in a more reasonable way
  (well, IMHO :-)) than parse_line.
e_split deals correctly with mixed qoutes (e.g. double quotes at
start of
  a field, a single one at the end).

Any comments and suggestions are highly appreciated.


The module can be downloaded from:
        http://www.creagen.de/downloads/ESplit100.zip

The documentation (not complete yet) is available at:
        http://www.creagen.de/mo_docs/e_split.htm


Module list entry:
Name:           ESplit
DSLI:           Rd|upf
Description:    Tokenize strings with possibly quoted tokens
Info:           ??

-------------------------------------------
CREAGEN Computerkram
Hartmut Camphausen        Fon: 06424/923826
Kirchstraße 8             Fax: 06424/923827
35043 Marburg            Mail: [EMAIL PROTECTED]

Reply via email to