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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Data-Record | 0.02nb13 |
| FreeBSD | devel/p5-Data-Record | 0.02_2 |
| DragonFly | devel/p5-Data-Record | 0.02_2 |
| HardenedBSD | devel/p5-Data-Record | 0.02_2 |
| GhostBSD | devel/p5-Data-Record | 0.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.02nb13 |
| NetBSD 10.1 aarch64 | 0.02nb12 |
| SmartOS / illumos x86_64 | 0.02nb13 |
| macOS 15 arm64 | 0.02nb13 |