BSD Ports

devel/p5-Data-Record 0.02nb13 NetBSD

Perl5 module for "split" on steroids

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
9.6 KiB, 22.3 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/p5-Data-Record0.02nb13
FreeBSDdevel/p5-Data-Record0.02_2
DragonFlydevel/p5-Data-Record0.02_2
HardenedBSDdevel/p5-Data-Record0.02_2
GhostBSDdevel/p5-Data-Record0.02_2

Install

Binary package:

pkgin install p5-Data-Record

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Data-Record && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.02nb13
NetBSD 10.1 aarch640.02nb12
SmartOS / illumos x86_640.02nb13
macOS 15 arm640.02nb13

Dependencies

Run dependencies 1
Required by 1

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0