BSD Ports

devel/p5-File-Slurp-Tree 1.24_1 FreeBSD

Slurp and emit file trees as nested hashes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
7.5 KiB, 11.7 KiB installed

Description

File::Slurp::Tree provides functions for slurping and emitting trees of files and directories.

# an example of use in a test suite use Test::More tests => 1; use File::Slurp::Tree; is_deeply( slurp_tree( "t/some_path" ), { foo => {}, bar => "sample\n" }, "some_path contains a directory called foo, and a file bar" );

The tree data structure is a hash of hashes. The keys of each hash are names of directories or files. Directories have hash references as their value, files have a scalar which holds the contents of the file.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-File-Slurp-Tree1.24_1
DragonFlydevel/p5-File-Slurp-Tree1.24_1

Install

Binary package:

pkg install p5-File-Slurp-Tree

From the ports tree:

cd /usr/ports/devel/p5-File-Slurp-Tree/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-Slurp-Tree>0:devel/p5-File-Slurp-Tree

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.24_11.24_11.24_11.24_11.24_1
FreeBSD:14:quarterly1.24_11.24_1n/a1.24_11.24_1
FreeBSD:15:latest1.24_11.24_1n/a1.24_11.24_1
FreeBSD:15:quarterly1.24_11.24_1n/an/an/a
FreeBSD:16:latest1.24_11.24_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 5

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/File/Slurp/Tree.pm
  • %%PERL5_MAN3%%/File::Slurp::Tree.3.gz
distinfo 1
FileSizeSHA256
File-Slurp-Tree-1.24.tar.gz33952c96db39084cd2760dc5163d64aff0ade0ee6af5f738692b3357898f2d6b04bf
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.