devel/p5-File-LoadLines 0.02 OpenBSD
load the contents of a text file into an array of lines
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Todd C. Miller <[email protected]>
- Categories
- devel, perl5
Description
File::LoadLines provides an easy way to load the contents of a text file into an array of lines. It is intended for relatively small files like config files that are often produced by weird tools (and users). It automatically handles ASCII, Latin and UTF-8 text. When the file has a BOM, it handles UTF-8, UTF-16 LE and BE, and UTF-32 LE and BE. Recognized line terminators are NL (Unix, Linux), CRLF (DOS, Windows) and CR (Mac).
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/p5-File-LoadLines | 0.02 |
| FreeBSD | devel/p5-File-LoadLines | 1.047 |
| DragonFly | devel/p5-File-LoadLines | 1.047 |
| HardenedBSD | devel/p5-File-LoadLines | 1.047 |
| GhostBSD | devel/p5-File-LoadLines | 1.047 |
Install
Binary package:
pkg_add p5-File-LoadLines
From the ports tree:
cd /usr/ports/devel/p5-File-LoadLines && make install