Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Data-Record
From: Thomas Klausner
Date: 2013-10-11 13:04:10
Message id: 20131011110410.608BB96@cvs.netbsd.org
Log Message:
Import p5-Data-Record-0.02 as devel/p5-Data-Record.
Sometimes 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.
Files: