BSD Ports

devel/p5-Slurp 0.4_1 DragonFly

Slurp entire files into variables

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
6.3 KiB, 11.0 KiB installed

Description

This simple module serves one purpose - to provide a simple means to read (or slurp) an entire file into memory for processing. This module allows the replacement of the prototypical foreach- or while- loops used for opening and reading of files with single-line constructs.

Of note with this module is that the magic of the @ARGV variable and the input record separator, $/, are used to facilitate the reading of entire files into either an array or scalar using minimal code.

In the other systems

The newest version among them is 0.4, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Slurp0.4_1 newestnone known-[email protected]-
FreeBSDdevel/p5-Slurp0.4_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-Slurp0.4_1 newestno data-[email protected]-
GhostBSDdevel/p5-Slurp0.4_1 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Slurp

From DPorts:

cd /usr/dports/devel/p5-Slurp && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.