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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-Slurp-Tree | 1.24_1 |
| DragonFly | devel/p5-File-Slurp-Tree | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.24_1 | 1.24_1 | 1.24_1 | 1.24_1 | 1.24_1 |
| FreeBSD:14:quarterly | 1.24_1 | 1.24_1 | n/a | 1.24_1 | 1.24_1 |
| FreeBSD:15:latest | 1.24_1 | 1.24_1 | n/a | 1.24_1 | 1.24_1 |
| FreeBSD:15:quarterly | 1.24_1 | 1.24_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.24_1 | 1.24_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-File-Find-Rule>=0: devel/p5-File-Find-Rulep5-File-Slurp>=0: devel/p5-File-Slurp
Runtime 2
p5-File-Find-Rule>=0: devel/p5-File-Find-Rulep5-File-Slurp>=0: devel/p5-File-Slurp
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
| File | Size | SHA256 |
|---|---|---|
| File-Slurp-Tree-1.24.tar.gz | 3395 | 2c96db39084cd2760dc5163d64aff0ade0ee6af5f738692b3357898f2d6b04bf |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.