BSD Ports

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

SystemPortVersion
OpenBSDdevel/p5-File-LoadLines0.02
FreeBSDdevel/p5-File-LoadLines1.047
DragonFlydevel/p5-File-LoadLines1.047
HardenedBSDdevel/p5-File-LoadLines1.047
GhostBSDdevel/p5-File-LoadLines1.047

Install

Binary package:

pkg_add p5-File-LoadLines

From the ports tree:

cd /usr/ports/devel/p5-File-LoadLines && make install

Dependencies

Required by 1