Bug#703501: ITP: libdata-record-perl -- "split" on steroids
Jonas Smedegaard
dr at jones.dk
Wed Mar 20 11:22:07 UTC 2013
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr at jones.dk>
* Package name : libdata-record-perl
Version : 0.02
Upstream Author : Curtis "Ovid" Poe <ovid at cpan.org>
* URL : http://search.cpan.org/dist/Data-Record/
* License : Artistic or GPL-1+
Programming Lang: Perl
Description : "split" on steroids
Sometimes we need data split into records and a simple split on the
input record separator (C<$/>) or some other value fails because the
values we're splitting on may allowed in other parts of the data.
Perhaps they're quoted. Perhaps they're embedded in other data which
should not be split up.
.
Data::Record allows you to specify what you wish to split the data on,
but also speficy an "unless" regular expression. If the text in
question matches the "unless" regex, it will not be split there. This
allows us to do things like split on newlines unless newlines are
embedded in quotes.
More information about the pkg-perl-maintainers
mailing list