Path to this page:
./
devel/p5-Data-Record,
Perl5 module for split on steroids
Branch: pkgsrc-2020Q4,
Version: 0.02nb7,
Package name: p5-Data-Record-0.02nb7,
Maintainer: pkgsrc-usersSometimes we need data split into records and a simple split on
the input record separator ($/) 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.
This module 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.
Master sites: (Expand)
SHA1: 0d9cbd2b3119aa65c9f4ca6cb6333eb921e1e1be
RMD160: 21dd12e9e087ba7886bea60fbedca9d7c56e2c02
Filesize: 6.864 KB
Version history: (Expand)
- (2021-01-03) Package added to pkgsrc.se, version p5-Data-Record-0.02nb7 (created)